-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
475 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
# electron | ||
|
||
## asar | ||
|
||
https://github.com/electron/asar | ||
|
||
## electron-builder | ||
https://github.com/electron-userland/electron-builder | ||
|
||
https://github.com/electron-userland/electron-builder | ||
|
||
## electron-universal | ||
https://github.com/electron/universal | ||
|
||
https://github.com/electron/universal | ||
|
||
## electron-forge | ||
|
||
https://www.electronforge.io/ | ||
|
||
## 开发依赖 | ||
|
||
所有开发依赖都安装在 root/package.json@devDependencies 中,这样在打包的时候就不会把开发依赖打包进去。 | ||
所有开发依赖都安装在 root/package.json@devDependencies 中,这样在打包的时候就不会把开发依赖打包进去。 | ||
|
||
使用 pnpm ,但是不用 workspaces 功能,为了更好的控制依赖安装的位置。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<!-- https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CSP --> | ||
<meta | ||
http-equiv="Content-Security-Policy" | ||
content="default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;frame-src *" | ||
/> | ||
<title>Cocos Creator 4.0</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="src/main.ts"></script> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<!-- https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CSP --> | ||
<meta | ||
http-equiv="Content-Security-Policy" | ||
content="default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;frame-src *" | ||
/> | ||
<title>Cocos Creator next</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="src/main.ts"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.