You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.
你好,请问一下,我在使用electron的时候,需要使用模板引擎去创建不同的html文件,然后在程序运行的过程中使用BrowserWindow.load去加载这个html文件,在Ubuntu下面调试运行的时候是没有问题的,但是经过打包成exe文件之后,运行的时候会报错,找不到这个文件,我查了一下,使用打包工具的时候,会把我创建html文件的目录位置打包成asar文件,而这种文件是只读的,所以程序在执行的时候,并没有在这个文件下面创建或者修改文件,所以导致我加载文件的时候失败,请问对于这种需求,有什么好的解决方案吗??
The text was updated successfully, but these errors were encountered: