skylink-0.1/build_n_run.cmd

7 lines
No EOL
478 B
Batchfile

@rem i fucking hate this hacky buildscript, its disgusting
@rem due to the fact that client.exe runs as SYSTEM, this must be run from an admin commandprompt.
del C:\Users\xory\Documents\Code\skylink\target\debug\client.exe
cargo b --bin client
psexec -s cmd /u /c C:\Users\xory\Documents\Code\skylink\target\debug\client.exe
takeown /f C:\Users\xory\Documents\Code\skylink\target\debug\client.exe
icacls C:\Users\xory\Documents\Code\skylink\target\debug\client.exe /grant xory:D