tools.deploy.windows: Windows processes launch from relation to the executable that launches them. Therefore, we need to normalize the path for the "Hello World" binary since it's in the temp directory and not relative to the factor/ directory.

locals-and-roots
Doug Coleman 2016-03-29 23:46:34 -07:00
parent 4bf402fc24
commit 8e59246a8b
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ CONSTANT: app-icon-resource-id "APPICON"
:: copy-vm ( executable bundle-name extension -- vm-path )
vm-path "." split1-last drop extension append
bundle-name executable ".exe" append append-path
[ copy-file ] keep ;
[ copy-file ] keep normalize-path ;
: create-exe-dir ( vocab bundle-name -- vm-path )
deploy-console? get ".com" ".exe" ? copy-vm ;