mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 01:10:03 +02:00
chore: Improve packaging process and update app copying logic
This commit is contained in:
parent
7ae2a6b249
commit
8f4579dee7
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@zen-browser/surfer",
|
"name": "@zen-browser/surfer",
|
||||||
"version": "1.3.9",
|
"version": "1.3.10",
|
||||||
"description": "Simplifying building firefox forks!",
|
"description": "Simplifying building firefox forks!",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
@ -93,7 +93,8 @@ export const surferPackage = async () => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await rmdirSync(join(currentCWD, `obj-${compatMode ? 'x86_64' : 'aarch64'}-apple-darwin/dist`), { recursive: true })
|
await rmdirSync(join(currentCWD, `obj-${compatMode ? 'x86_64' : 'aarch64'}-apple-darwin/dist`), { recursive: true })
|
||||||
await dispatch('cp', ['-R', `/Volumes/${mountedPath}/Zen Browser.app`, `obj-${compatMode ? 'x86_64' : 'aarch64'}-apple-darwin/dist`], currentCWD, true)
|
log.info('Copying the app to the current working directory, into the dist folder')
|
||||||
|
await dispatch('cp', ['-R', `/Volumes/${mountedPath}/Zen Browser.app`, `obj-${compatMode ? 'x86_64' : 'aarch64'}-apple-darwin/dist`], ENGINE_DIR, true)
|
||||||
await dispatch('hdiutil', ['detach', `/Volumes/${mountedPath}`], currentCWD, true)
|
await dispatch('hdiutil', ['detach', `/Volumes/${mountedPath}`], currentCWD, true)
|
||||||
|
|
||||||
await dispatch(machPath, ['macos-sign', '--verbose',
|
await dispatch(machPath, ['macos-sign', '--verbose',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue