mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 09:33:10 -07:00
fixing kcpp_sdui.embd copying for packaged binaries
This commit is contained in:
parent
a3a74af342
commit
73fe2d29db
3 changed files with 18 additions and 8 deletions
|
|
@ -55,7 +55,7 @@
|
||||||
"eslint-plugin-react": "^7.37.5",
|
"eslint-plugin-react": "^7.37.5",
|
||||||
"eslint-plugin-react-hooks": "^5.2.0",
|
"eslint-plugin-react-hooks": "^5.2.0",
|
||||||
"eslint-plugin-sonarjs": "^3.0.5",
|
"eslint-plugin-sonarjs": "^3.0.5",
|
||||||
"globals": "^16.3.0",
|
"globals": "^16.4.0",
|
||||||
"jiti": "^2.5.1",
|
"jiti": "^2.5.1",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"rollup-plugin-visualizer": "^6.0.3",
|
"rollup-plugin-visualizer": "^6.0.3",
|
||||||
|
|
@ -91,7 +91,12 @@
|
||||||
"out/**/*",
|
"out/**/*",
|
||||||
"dist/**/*"
|
"dist/**/*"
|
||||||
],
|
],
|
||||||
"extraFiles": [],
|
"extraFiles": [
|
||||||
|
{
|
||||||
|
"from": "assets/kcpp_sdui.embd",
|
||||||
|
"to": "assets/kcpp_sdui.embd"
|
||||||
|
}
|
||||||
|
],
|
||||||
"mac": {
|
"mac": {
|
||||||
"compression": "maximum",
|
"compression": "maximum",
|
||||||
"category": "public.app-category.productivity",
|
"category": "public.app-category.productivity",
|
||||||
|
|
|
||||||
|
|
@ -298,7 +298,12 @@ async function patchKcppSduiEmbd(unpackedDir: string) {
|
||||||
if (isDevelopment) {
|
if (isDevelopment) {
|
||||||
sourceAssetPath = join(__dirname, '../../assets', 'kcpp_sdui.embd');
|
sourceAssetPath = join(__dirname, '../../assets', 'kcpp_sdui.embd');
|
||||||
} else {
|
} else {
|
||||||
sourceAssetPath = join(process.resourcesPath, 'assets', 'kcpp_sdui.embd');
|
sourceAssetPath = join(
|
||||||
|
process.resourcesPath,
|
||||||
|
'..',
|
||||||
|
'assets',
|
||||||
|
'kcpp_sdui.embd'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const targetPath of possiblePaths) {
|
for (const targetPath of possiblePaths) {
|
||||||
|
|
|
||||||
10
yarn.lock
10
yarn.lock
|
|
@ -3647,7 +3647,7 @@ __metadata:
|
||||||
eslint-plugin-react-hooks: "npm:^5.2.0"
|
eslint-plugin-react-hooks: "npm:^5.2.0"
|
||||||
eslint-plugin-sonarjs: "npm:^3.0.5"
|
eslint-plugin-sonarjs: "npm:^3.0.5"
|
||||||
execa: "npm:^9.6.0"
|
execa: "npm:^9.6.0"
|
||||||
globals: "npm:^16.3.0"
|
globals: "npm:^16.4.0"
|
||||||
jiti: "npm:^2.5.1"
|
jiti: "npm:^2.5.1"
|
||||||
lucide-react: "npm:^0.543.0"
|
lucide-react: "npm:^0.543.0"
|
||||||
prettier: "npm:^3.6.2"
|
prettier: "npm:^3.6.2"
|
||||||
|
|
@ -3818,10 +3818,10 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"globals@npm:^16.3.0":
|
"globals@npm:^16.4.0":
|
||||||
version: 16.3.0
|
version: 16.4.0
|
||||||
resolution: "globals@npm:16.3.0"
|
resolution: "globals@npm:16.4.0"
|
||||||
checksum: 10c0/c62dc20357d1c0bf2be4545d6c4141265d1a229bf1c3294955efb5b5ef611145391895e3f2729f8603809e81b30b516c33e6c2597573844449978606aad6eb38
|
checksum: 10c0/a14b447a78b664b42f6d324e8675fcae6fe5e57924fecc1f6328dce08af9b2ca3a3138501e1b1f244a49814a732dc60cfc1aa24e714e0b64ac8bd18910bfac90
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue