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
Here is the Package.json file that builds for linux arm like raspberry pi 4. After you add the arm scripts just run npm run linux-arm64 if your running arm 64
Here is the Package.json file that builds for linux arm like raspberry pi 4. After you add the arm scripts just run npm run linux-arm64 if your running arm 64
{
"name": "alpaca-electron",
"productName": "Alpaca Electron",
"description": "The most user friendly way to interact with Alpaca",
"version": "1.0.6",
"author": "Pi",
"license": "MIT",
"main": "index.js",
"icon": "icon/win/icon.ico",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"start": "electron .",
"make-win": "npx electron-packager . --overwrite --platform=win32 --arch=x64 --icon=icon/win/icon.ico --prune=true --electron-version=13.6.9 --app-copyright="Pi" --out=release-builds --version-string.CompanyName=Pi",
"pack-win": "npx electron-builder --win --config --publish=never --prepackaged "release-builds/Alpaca Electron-win32-x64"",
"win": "rmdir /s /q release-builds dist && npm run make-win && npm run pack-win",
"make-mac-x64": "npx electron-packager . --overwrite --platform=darwin --arch=x64 --icon=icon/mac/icon.icns --prune=true --electron-version=13.6.9 --app-copyright="Pi" --out=./release-builds --version-string.CompanyName=Pi",
"make-mac-arm64": "npx electron-packager . --overwrite --platform=darwin --arch=arm64 --icon=icon/mac/icon.icns --prune=true --electron-version=13.6.9 --app-copyright="Pi" --out=./release-builds --version-string.CompanyName=Pi",
"pack-mac-x64": "electron-installer-dmg "release-builds/Alpaca Electron-darwin-x64/Alpaca Electron.app" "Alpaca Electron" --out=release-builds/dmg/x64 --icon=icon/mac/icon.icns --icon-size=128 --title="Alpaca Electron" --overwrite",
"pack-mac-arm64": "electron-installer-dmg "release-builds/Alpaca Electron-darwin-arm64/Alpaca Electron.app" "Alpaca Electron" --out=release-builds/dmg/arm64 --icon=icon/mac/icon.icns --icon-size=128 --title="Alpaca Electron" --overwrite",
"mac-x64": "npm run make-mac-x64 && npm run pack-mac-x64",
"mac-arm64": "npm run make-mac-arm64 && npm run pack-mac-arm64",
"rebuild": ".\node_modules\.bin\electron-rebuild",
"rebuild-linux": "npx --openssl_fips='' electron-rebuild",
"make-linux-x64": "npx electron-packager . --overwrite --platform=linux --arch=x64 --icon=icon/png/128x128.png --prune=true --electron-version=13.6.9 --app-copyright='Pi' --out=./release-builds --version-string.CompanyName=Pi",
"pack-linux-x64": "tar czf release-builds/Alpaca-Electron-linux-x64-1.0.6.tar.gz "release-builds/Alpaca Electron-linux-x64"",
"linux-x64": "npm run rebuild-linux && npm run make-linux-x64 && npm run pack-linux-x64",
"make-linux-arm64": "npx electron-packager . --overwrite --platform=linux --arch=arm64 --icon=icon/png/128x128.png --prune=true --electron-version=13.6.9 --app-copyright='Pi' --out=./release-builds --version-string.CompanyName=Pi",
"pack-linux-arm64": "tar czf release-builds/Alpaca-Electron-linux-arm64-1.0.6.tar.gz "release-builds/Alpaca Electron-linux-arm64"",
"linux-arm64": "npm run rebuild-linux && npm run make-linux-arm64 && npm run pack-linux-arm64"
},
"dependencies": {
"@electron/remote": "^2.0.9",
"@npmcli/fs": "^3.1.0",
"duck-duck-scrape": "^2.2.4",
"electron-store": "^8.1.0",
"express": "^4.18.2",
"node-pty-prebuilt-multiarch": "^0.10.1-pre.5",
"os-utils": "^0.0.14",
"path": "^0.12.7"
},
"devDependencies": {
"@electron/rebuild": "^3.2.10",
"electron": "^13.6.9",
"electron-builder": "^23.6.0",
"electron-packager": "^17.1.1"
}
}
The text was updated successfully, but these errors were encountered: