Open 491467928 opened 11 months ago
on windows, if exe file path contains ; can not run.
for example:exe file path is ”D:/!@#$%^&(){};/test.exe“,bootstrap.Run will return error,error info is”creating window fail:context canceled“
logs: 2023/12/14 09:44:44 astikit: starting worker... 2023/12/14 09:44:44 Resources folder doesn't exist, restoring resources... 2023/12/14 09:44:44 Removing C:\code\iDstePCAssistant!@#$%^&(){};\cache\resources 2023/12/14 09:44:44 Restoring resources in C:\code\iDstePCAssistant!@#$%^&(){};\cache\resources 2023/12/14 09:44:46 Starting... 2023/12/14 09:44:46 Provisioning... 2023/12/14 09:44:46 Provisioning Astilectron... 2023/12/14 09:44:46 Removing directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\astilectron.zip into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip... 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\astilectron.zip 2023/12/14 09:44:46 Copying disembedded data to C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip 2023/12/14 09:44:46 Creating directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron 2023/12/14 09:44:46 Unzipping C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip\astilectron-0.55.0 into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron 2023/12/14 09:44:46 removing C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip 2023/12/14 09:44:46 Provisioning Electron... 2023/12/14 09:44:46 Removing directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\electron.zip into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip... 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\electron.zip 2023/12/14 09:44:46 Copying disembedded data to C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip 2023/12/14 09:44:46 Creating directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64 2023/12/14 09:44:46 Unzipping C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64 2023/12/14 09:44:48 System doesn't require finshing provisioning electron, moving on... 2023/12/14 09:44:48 removing C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip 2023/12/14 09:44:48 Listening... 2023/12/14 09:44:48 Executing... 2023/12/14 09:44:48 Starting cmd C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64\electron.exe C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron\main.js 127.0.0.1:55071 fal se ignore-certificate-errors 2023/12/14 09:44:48 'C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64\electron.exe' exited with code: 3221225781 2023/12/14 09:44:48 App has crashed 2023/12/14 09:44:48 Stopping... 2023/12/14 09:44:48 astikit: stopping worker... 2023/12/14 09:44:48 Closing... 2023/12/14 09:44:48 accept tcp 127.0.0.1:55071: use of closed network connection while TCP accepting 2023/12/14 09:44:48 Stopping...
I don't think electron can open a path with ; inside 🤔 unfortunately there's not much I can do 🤔
;
on windows, if exe file path contains ; can not run.
for example:exe file path is ”D:/!@#$%^&(){};/test.exe“,bootstrap.Run will return error,error info is”creating window fail:context canceled“
logs: 2023/12/14 09:44:44 astikit: starting worker... 2023/12/14 09:44:44 Resources folder doesn't exist, restoring resources... 2023/12/14 09:44:44 Removing C:\code\iDstePCAssistant!@#$%^&(){};\cache\resources 2023/12/14 09:44:44 Restoring resources in C:\code\iDstePCAssistant!@#$%^&(){};\cache\resources 2023/12/14 09:44:46 Starting... 2023/12/14 09:44:46 Provisioning... 2023/12/14 09:44:46 Provisioning Astilectron... 2023/12/14 09:44:46 Removing directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\astilectron.zip into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip... 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\astilectron.zip 2023/12/14 09:44:46 Copying disembedded data to C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip 2023/12/14 09:44:46 Creating directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron 2023/12/14 09:44:46 Unzipping C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip\astilectron-0.55.0 into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron 2023/12/14 09:44:46 removing C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron-v0.55.0.zip 2023/12/14 09:44:46 Provisioning Electron... 2023/12/14 09:44:46 Removing directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\electron.zip into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip... 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor 2023/12/14 09:44:46 Creating C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip 2023/12/14 09:44:46 Disembedding vendor_astilectron_bundler\electron.zip 2023/12/14 09:44:46 Copying disembedded data to C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip 2023/12/14 09:44:46 Creating directory C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64 2023/12/14 09:44:46 Unzipping C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip into C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64 2023/12/14 09:44:48 System doesn't require finshing provisioning electron, moving on... 2023/12/14 09:44:48 removing C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64-v11.4.3.zip 2023/12/14 09:44:48 Listening... 2023/12/14 09:44:48 Executing... 2023/12/14 09:44:48 Starting cmd C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64\electron.exe C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\astilectron\main.js 127.0.0.1:55071 fal se ignore-certificate-errors 2023/12/14 09:44:48 'C:\code\iDstePCAssistant!@#$%^&(){};\cache\vendor\electron-windows-amd64\electron.exe' exited with code: 3221225781 2023/12/14 09:44:48 App has crashed 2023/12/14 09:44:48 Stopping... 2023/12/14 09:44:48 astikit: stopping worker... 2023/12/14 09:44:48 Closing... 2023/12/14 09:44:48 accept tcp 127.0.0.1:55071: use of closed network connection while TCP accepting 2023/12/14 09:44:48 Stopping...