Build conf for app store

This commit is contained in:
chrox
2024-11-25 10:12:47 +01:00
parent 28ac200da4
commit a67bfa3591
4 changed files with 26 additions and 5 deletions
+10 -3
View File
@@ -28,6 +28,15 @@ yarn-error.log*
# local env files
.env*.local
# certs and keys
/private_keys
# plists
*.plist
# local confs
tauri.*.conf.json
# vercel
.vercel
@@ -35,10 +44,8 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
<<<<<<< HEAD:apps/readest-app/.gitignore
#generated
src-tauri/gen
=======
# vendor
/public/vendor
>>>>>>> 8a4b5fb (Fix PDF rendering):apps/digest-app/.gitignore
+3 -1
View File
@@ -18,7 +18,9 @@
"build-win-arm64": "tauri build --target aarch64-pc-windows-msvc --bundles nsis",
"build-linux-x64": "tauri build --target x86_64-unknown-linux-gnu --bundles appimage",
"build-macos-universial": "dotenv -e .env.apple-nonstore.local -- tauri build -t universal-apple-darwin --bundles dmg",
"build-macos-universial-appstore": "dotenv -e .env.apple-appstore.local -- tauri build -t universal-apple-darwin --bundles dmg"
"build-macos-universial-appstore": "dotenv -e .env.apple-appstore.local -- tauri build -t universal-apple-darwin --bundles app --config src-tauri/tauri.appstore.conf.json",
"build-macos-universial-appstore-dev": "dotenv -e .env.apple-appstore-dev.local -- tauri build -t universal-apple-darwin --bundles app --config src-tauri/tauri.appstore-dev.conf.json",
"release-macos-universial-appstore": "dotenv -e .env.apple-appstore.local -- bash scripts/release-mac-appstore.sh"
},
"dependencies": {
"@tauri-apps/api": "2.1.1",
@@ -0,0 +1,8 @@
pnpm run build-macos-universial-appstore
BUNDLE_DIR=src-tauri/target/universal-apple-darwin/release/bundle/macos
APP_BUNDLE=$BUNDLE_DIR/Readest.app
INSTALLER_BUNDLE=$BUNDLE_DIR/Readest.pkg
xcrun productbuild --sign "$APPLE_INSTALLER_SIGNING_IDENTITY" --component $APP_BUNDLE /Applications $INSTALLER_BUNDLE
xcrun altool --upload-app --type macos --file $INSTALLER_BUNDLE --apiKey $APPLE_API_KEY --apiIssuer $APPLE_API_ISSUER
+5 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "Readest",
"version": "0.7.0",
"version": "0.7.2",
"identifier": "com.bilingify.readest",
"build": {
"frontendDist": "../out",
@@ -32,6 +32,7 @@
"bundle": {
"active": true,
"targets": "all",
"category": "Productivity",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
@@ -44,6 +45,9 @@
"webviewInstallMode": {
"type": "embedBootstrapper"
}
},
"macOS": {
"minimumSystemVersion": "12.0"
}
},
"plugins": {