|
@@ -1,11 +1,10 @@
|
|
|
class Run {
|
|
|
static public function run() {
|
|
|
- var exe = 'bin/bin/Main.exe';
|
|
|
var exitCode = switch (Sys.systemName()) {
|
|
|
case 'Windows':
|
|
|
- Sys.command(exe);
|
|
|
+ Sys.command('bin\\bin\\Main.exe');
|
|
|
case _:
|
|
|
- Sys.command('mono', [exe]);
|
|
|
+ Sys.command('mono', ['bin/bin/Main.exe']);
|
|
|
}
|
|
|
Sys.exit(exitCode);
|
|
|
}
|