技术
peterpei_
这个作者很懒,什么都没留下…
展开
-
electron-builder跟electron-packager打包原生插件遇到的问题
自己编写的node addon插件,开发环境下,加载ok,打包后,启动就失败了,找不到了。网上搜了很多资料,都没说到点子上,类似这种,说使用extraResources的,感觉没说到点子上。解决办法其实官网就有说怎么解决electron-builder:打包脚本添加 “asarUnpack”: “./不想打包的目录”electron-packager: 命令行添加–asar.unpackDir=addon这个问题其实是asar引起的,所有可以在asar相关的选项里面找答案。具体添加细节可以在原创 2022-03-03 13:11:03 · 975 阅读 · 0 评论 -
electron-builder打包后无法启动,提示错误:gpu process launch failed: error_code=18
electron-builder打包后,无法运行,提示如标题所示错误。网上搜了很多资料,都无法解决。最后发现是权限问题:win10上面,非管理员账号,打包时,用了"requestedExecutionLevel": “requireAdministrator”打包时去掉最后那个选项就好了。...原创 2022-03-03 12:46:07 · 3437 阅读 · 1 评论 -
Page State–Step by Step
Posted on July 27, 2011 by Jesse LibertyWindows Phone TutorialThe Windows Phone life cycle is not terribly complicated, but it can be the source of some confusion, and mana转载 2013-03-07 10:13:13 · 1078 阅读 · 0 评论 -
Visual C++ Debugging: How to use 'ASSERT' and deal with assertions failures?
原文链接:http://forums.codeguru.com/showthread.php?315371-Visual-C-Debugging-How-to-use-ASSERT-and-deal-with-assertions-failuresQ: What is an assertion?A: An assertion statement specifies a转载 2013-05-07 18:56:31 · 1135 阅读 · 0 评论 -
Attempt to execute non-executable address ...
出问题的一种可能。转载一发,以免原文没了。原文链接:https://blogs.msdn.microsoft.com/ntdebugging/2008/07/23/data-execution-protection-in-action/Hello, my name is Graham, and I’m an escalation engineer on转载 2016-08-27 19:13:22 · 2623 阅读 · 0 评论