Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13e6268448 | |||
| 7a605d402b | |||
| 18635c2200 | |||
| cdae07afe6 |
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"log-plugin": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri@2.0.0-alpha.16.
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri@alpha.17.
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri@alpha.18.
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator-js": patch
|
|
||||||
"autostart-js": patch
|
|
||||||
"barcode-scanner-js": patch
|
|
||||||
"cli-js": patch
|
|
||||||
"clipboard-manager-js": patch
|
|
||||||
"deep-link-js": patch
|
|
||||||
"dialog-js": patch
|
|
||||||
"fs-js": patch
|
|
||||||
"global-shortcut-js": patch
|
|
||||||
"http-js": patch
|
|
||||||
"log-js": patch
|
|
||||||
"notification-js": patch
|
|
||||||
"os-js": patch
|
|
||||||
"positioner-js": patch
|
|
||||||
"process-js": patch
|
|
||||||
"shell-js": patch
|
|
||||||
"sql-js": patch
|
|
||||||
"store-js": patch
|
|
||||||
"stronghold-js": patch
|
|
||||||
"updater-js": patch
|
|
||||||
"upload-js": patch
|
|
||||||
"websocket-js": patch
|
|
||||||
"window-state-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to @tauri-apps/api v2.0.0-alpha.11.
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator-js": patch
|
|
||||||
"autostart-js": patch
|
|
||||||
"barcode-scanner-js": patch
|
|
||||||
"cli-js": patch
|
|
||||||
"clipboard-manager-js": patch
|
|
||||||
"deep-link-js": patch
|
|
||||||
"dialog-js": patch
|
|
||||||
"fs-js": patch
|
|
||||||
"global-shortcut-js": patch
|
|
||||||
"http-js": patch
|
|
||||||
"log-js": patch
|
|
||||||
"notification-js": patch
|
|
||||||
"os-js": patch
|
|
||||||
"positioner-js": patch
|
|
||||||
"process-js": patch
|
|
||||||
"shell-js": patch
|
|
||||||
"sql-js": patch
|
|
||||||
"store-js": patch
|
|
||||||
"stronghold-js": patch
|
|
||||||
"updater-js": patch
|
|
||||||
"upload-js": patch
|
|
||||||
"websocket-js": patch
|
|
||||||
"window-state-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to @tauri-apps/api v2.0.0-alpha.12.
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator-js": patch
|
|
||||||
"autostart-js": patch
|
|
||||||
"barcode-scanner-js": patch
|
|
||||||
"cli-js": patch
|
|
||||||
"clipboard-manager-js": patch
|
|
||||||
"deep-link-js": patch
|
|
||||||
"dialog-js": patch
|
|
||||||
"fs-js": patch
|
|
||||||
"global-shortcut-js": patch
|
|
||||||
"http-js": patch
|
|
||||||
"log-js": patch
|
|
||||||
"notification-js": patch
|
|
||||||
"os-js": patch
|
|
||||||
"positioner-js": patch
|
|
||||||
"process-js": patch
|
|
||||||
"shell-js": patch
|
|
||||||
"sql-js": patch
|
|
||||||
"store-js": patch
|
|
||||||
"stronghold-js": patch
|
|
||||||
"updater-js": patch
|
|
||||||
"upload-js": patch
|
|
||||||
"websocket-js": patch
|
|
||||||
"window-state-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to @tauri-apps/api v2.0.0-alpha.9.
|
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
"manager": "rust",
|
"manager": "rust",
|
||||||
"publish": false,
|
"publish": false,
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"barcode-scanner",
|
"app",
|
||||||
"log-plugin",
|
"log-plugin",
|
||||||
"cli",
|
"cli",
|
||||||
"clipboard-manager",
|
"clipboard-manager",
|
||||||
@@ -50,15 +50,17 @@
|
|||||||
"os",
|
"os",
|
||||||
"process",
|
"process",
|
||||||
"shell",
|
"shell",
|
||||||
"updater"
|
"updater",
|
||||||
]
|
"window"
|
||||||
|
],
|
||||||
|
"postversion": "pnpm install"
|
||||||
},
|
},
|
||||||
"api-example-js": {
|
"api-example-js": {
|
||||||
"path": "./examples/api",
|
"path": "./examples/api",
|
||||||
"manager": "javascript",
|
"manager": "javascript",
|
||||||
"publish": false,
|
"publish": false,
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"barcode-scanner-js",
|
"app-js",
|
||||||
"log-js",
|
"log-js",
|
||||||
"cli-js",
|
"cli-js",
|
||||||
"clipboard-manager-js",
|
"clipboard-manager-js",
|
||||||
@@ -70,17 +72,18 @@
|
|||||||
"os-js",
|
"os-js",
|
||||||
"process-js",
|
"process-js",
|
||||||
"shell-js",
|
"shell-js",
|
||||||
"updater-js"
|
"updater-js",
|
||||||
],
|
"window-js"
|
||||||
"postversion": "pnpm install --no-frozen-lockfile"
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"deep-link-example-js": {
|
"app": {
|
||||||
"path": "./plugins/deep-link/examples/app",
|
"path": "./plugins/app",
|
||||||
"manager": "javascript",
|
"manager": "rust"
|
||||||
"publish": false,
|
},
|
||||||
"dependencies": ["deep-link-js"],
|
"app-js": {
|
||||||
"postversion": "pnpm install --no-frozen-lockfile"
|
"path": "./plugins/app",
|
||||||
|
"manager": "javascript"
|
||||||
},
|
},
|
||||||
|
|
||||||
"authenticator": {
|
"authenticator": {
|
||||||
@@ -101,15 +104,6 @@
|
|||||||
"manager": "javascript"
|
"manager": "javascript"
|
||||||
},
|
},
|
||||||
|
|
||||||
"barcode-scanner": {
|
|
||||||
"path": "./plugins/barcode-scanner",
|
|
||||||
"manager": "rust"
|
|
||||||
},
|
|
||||||
"barcode-scanner-js": {
|
|
||||||
"path": "./plugins/barcode-scanner",
|
|
||||||
"manager": "javascript"
|
|
||||||
},
|
|
||||||
|
|
||||||
"cli": {
|
"cli": {
|
||||||
"path": "./plugins/cli",
|
"path": "./plugins/cli",
|
||||||
"manager": "rust"
|
"manager": "rust"
|
||||||
@@ -128,15 +122,6 @@
|
|||||||
"manager": "javascript"
|
"manager": "javascript"
|
||||||
},
|
},
|
||||||
|
|
||||||
"deep-link": {
|
|
||||||
"path": "./plugins/deep-link",
|
|
||||||
"manager": "rust"
|
|
||||||
},
|
|
||||||
"deep-link-js": {
|
|
||||||
"path": "./plugins/deep-link",
|
|
||||||
"manager": "javascript"
|
|
||||||
},
|
|
||||||
|
|
||||||
"fs": {
|
"fs": {
|
||||||
"path": "./plugins/fs",
|
"path": "./plugins/fs",
|
||||||
"manager": "rust"
|
"manager": "rust"
|
||||||
@@ -320,6 +305,15 @@
|
|||||||
"manager": "javascript"
|
"manager": "javascript"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"window": {
|
||||||
|
"path": "./plugins/window",
|
||||||
|
"manager": "rust"
|
||||||
|
},
|
||||||
|
"window-js": {
|
||||||
|
"path": "./plugins/window",
|
||||||
|
"manager": "javascript"
|
||||||
|
},
|
||||||
|
|
||||||
"window-state": {
|
"window-state": {
|
||||||
"path": "./plugins/window-state",
|
"path": "./plugins/window-state",
|
||||||
"manager": "rust"
|
"manager": "rust"
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"deep-link": major
|
|
||||||
"deep-link-js": major
|
|
||||||
---
|
|
||||||
|
|
||||||
Initial release.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"dialog": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Pin the version of `rfd` to 0.12.0. This is a workaround for [PolyMeilex/rfd#152](https://github.com/PolyMeilex/rfd/pull/152), in which rfd took over responsibility for `gtk_init` by running its own event loop thread.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"dialog": patch
|
|
||||||
"dialog-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix incorrect result for dialog messages.
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"window-js": "minor:feat"
|
||||||
|
---
|
||||||
|
|
||||||
|
Added the `maximizable`, `minimizable` and `closable` fields on `WindowOptions`.
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
"window": "minor:feat"
|
||||||
|
"window-js": "minor:feat"
|
||||||
|
---
|
||||||
|
|
||||||
|
Added the `setMaximizable`, `setMinimizable`, `setClosable`, `isMaximizable`, `isMinimizable` and `isClosable` methods.
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
"app": patch
|
||||||
"authenticator": patch
|
"authenticator": patch
|
||||||
"autostart": patch
|
"autostart": patch
|
||||||
"cli": patch
|
"cli": patch
|
||||||
@@ -22,6 +23,7 @@
|
|||||||
"updater": patch
|
"updater": patch
|
||||||
"upload": patch
|
"upload": patch
|
||||||
"websocket": patch
|
"websocket": patch
|
||||||
|
"window": patch
|
||||||
"window-state": patch
|
"window-state": patch
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
"log-plugin": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"store": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to breaking changes from tauri@alpha.17.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"shell": patch
|
|
||||||
"dialog": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix invoke usage.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"sql": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Encode JSON number query params as f64 to fix JSON_EXTRACT queries on SQLite
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"notification": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix permission prompt.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes update on macOS.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"window-state-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix usage of no longer available `__TAURI_METADATA__` API.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"fs-js": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Add second argument to `exists` function to specify base directory.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"global-shortcut": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking Change**: Changed `Builder::with_handler` closure to take `&AppHandle` as the first argument and the shortcut as the second argument.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"http": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Remove `cmd` property which breaks invoke call.
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update MSRV to 1.70.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"os-js": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix `macss -> macos` typo in `OsType` type.
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
"os": "patch"
|
|
||||||
"os-js": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix `Uncaught TypeError: Cannot read properties of undefined (reading 'os')`
|
|
||||||
|
|
||||||
@@ -1,62 +1,33 @@
|
|||||||
{
|
{
|
||||||
"tag": "alpha",
|
"tag": "alpha",
|
||||||
"changes": [
|
"changes": [
|
||||||
".changes/alpha.16.md",
|
|
||||||
".changes/alpha.17.md",
|
|
||||||
".changes/alpha.18.md",
|
|
||||||
".changes/api-alpha.11.md",
|
|
||||||
".changes/api-alpha.13.md",
|
|
||||||
".changes/api-alpha.9.md",
|
|
||||||
".changes/deep-link-initial-release.md",
|
|
||||||
".changes/dialog-async-message-dialog.md",
|
".changes/dialog-async-message-dialog.md",
|
||||||
".changes/dialog-pin-rfd.md",
|
".changes/disable-window-controls-api-options.md",
|
||||||
".changes/dialog-return-result.md",
|
".changes/disable-window-controls-api.md",
|
||||||
".changes/fix-docs-build.md",
|
".changes/fix-docs-build.md",
|
||||||
".changes/fix-emit-all-usage.md",
|
|
||||||
".changes/fix-invoke-usage.md",
|
|
||||||
".changes/fix-number-query-params.md",
|
|
||||||
".changes/fix-permission-notification.md",
|
|
||||||
".changes/fix-updater-macos.md",
|
|
||||||
".changes/fix-window-state-api.md",
|
|
||||||
".changes/fs-exists-2nd-arg.md",
|
|
||||||
".changes/fs-wiret-binary-file.md",
|
".changes/fs-wiret-binary-file.md",
|
||||||
".changes/global-shortcut-app-handle.md",
|
|
||||||
".changes/http-multipart-refactor.md",
|
".changes/http-multipart-refactor.md",
|
||||||
".changes/http-plugin-refactor.md",
|
".changes/http-plugin-refactor.md",
|
||||||
".changes/http-remove-cmd-property.md",
|
|
||||||
".changes/http-response.md",
|
|
||||||
".changes/msrv-1.70.md",
|
|
||||||
".changes/notification-init-script.md",
|
".changes/notification-init-script.md",
|
||||||
".changes/notification-revert-sound.md",
|
".changes/notification-revert-sound.md",
|
||||||
".changes/notification-sound.md",
|
".changes/notification-sound.md",
|
||||||
".changes/os-OsType.md",
|
|
||||||
".changes/os-plugin-refactor.md",
|
".changes/os-plugin-refactor.md",
|
||||||
".changes/os-reading-undefined.md",
|
|
||||||
".changes/persisted-scope-asset.md",
|
".changes/persisted-scope-asset.md",
|
||||||
".changes/persisted-scope-glob.md",
|
".changes/persisted-scope-glob.md",
|
||||||
".changes/positioner-tray-flag.md",
|
".changes/positioner-tray-flag.md",
|
||||||
".changes/scanner-initial-release.md",
|
|
||||||
".changes/shell-command-apis.md",
|
".changes/shell-command-apis.md",
|
||||||
".changes/shell-detached.md",
|
".changes/shell-detached.md",
|
||||||
".changes/sql-decode-floats.md",
|
|
||||||
".changes/stronghold-arg-name.md",
|
".changes/stronghold-arg-name.md",
|
||||||
".changes/stronghold-argon2.md",
|
|
||||||
".changes/stronghold-constructor.md",
|
".changes/stronghold-constructor.md",
|
||||||
".changes/tauri-alpha-15.md",
|
|
||||||
".changes/tauri-alpha.11.md",
|
".changes/tauri-alpha.11.md",
|
||||||
".changes/tauri-alpha.12.md",
|
|
||||||
".changes/tray-position.md",
|
|
||||||
".changes/updater-appimage.md",
|
|
||||||
".changes/updater-escaped-path.md",
|
|
||||||
".changes/updater-nsis-admin.md",
|
".changes/updater-nsis-admin.md",
|
||||||
".changes/updater-nsis.md",
|
".changes/updater-nsis.md",
|
||||||
".changes/updater-plugin-refactor.md",
|
".changes/updater-plugin-refactor.md",
|
||||||
".changes/updater-string-replace-round2.md",
|
|
||||||
".changes/updater-string-replace.md",
|
|
||||||
".changes/upload-bufwriter.md",
|
|
||||||
".changes/v2-alpha.md",
|
".changes/v2-alpha.md",
|
||||||
".changes/websocket-fix-arg-name.md",
|
".changes/window-incognito.md",
|
||||||
".changes/websocket-headers.md",
|
".changes/window-is-focused.md",
|
||||||
|
".changes/window-plugin-refactor.md",
|
||||||
|
".changes/window-set-effects.md",
|
||||||
".changes/window-state-decorated.md",
|
".changes/window-state-decorated.md",
|
||||||
".changes/window-state-promise.md"
|
".changes/window-state-promise.md"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"barcode-scanner": major
|
|
||||||
"barcode-scanner-js": major
|
|
||||||
---
|
|
||||||
|
|
||||||
Initial release.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"sql": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed an issue where float-like values were decoded as `null`.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"stronghold": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added `Builder::with_argon2`.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"window-state": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri@alpha.15.
|
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
"app": patch
|
||||||
|
"app-js": patch
|
||||||
"authenticator": patch
|
"authenticator": patch
|
||||||
"authenticator-js": patch
|
"authenticator-js": patch
|
||||||
"autostart": patch
|
"autostart": patch
|
||||||
@@ -42,6 +44,8 @@
|
|||||||
"upload-js": patch
|
"upload-js": patch
|
||||||
"websocket": patch
|
"websocket": patch
|
||||||
"websocket-js": patch
|
"websocket-js": patch
|
||||||
|
"window": patch
|
||||||
|
"window-js": patch
|
||||||
"window-state": patch
|
"window-state": patch
|
||||||
"window-state-js": patch
|
"window-state-js": patch
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to alpha.12.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"positioner": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
`TrayLeft`, `TrayRight` and `TrayCenter` will now position the window according to the tray position relative to the monitor dimensions to prevent windows being displayed partially off-screen.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix updater failing to extract the AppImage resulting in failing to update and also deleting the current version.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
updater: patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Use escaped installer path to start the nsis/msi updater to prevent crashes if app name contained spaces.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
The plugin now correctly replaces `arch`, `current_version` and `target` in query params again.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
The plugin now correctly replaces `arch`, `current_version` and `target` again.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"upload": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Use `BufWriter` to reduce IO calls.
|
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
"app": major
|
||||||
|
"app-js": major
|
||||||
"authenticator": major
|
"authenticator": major
|
||||||
"authenticator-js": major
|
"authenticator-js": major
|
||||||
"autostart": major
|
"autostart": major
|
||||||
@@ -42,6 +44,8 @@
|
|||||||
"upload-js": major
|
"upload-js": major
|
||||||
"websocket": major
|
"websocket": major
|
||||||
"websocket-js": major
|
"websocket-js": major
|
||||||
|
"window": major
|
||||||
|
"window-js": major
|
||||||
"window-state": major
|
"window-state": major
|
||||||
"window-state-js": major
|
"window-state-js": major
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"websocket": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix argument name mismatch that caused issues when options where provided.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"websocket": patch
|
|
||||||
"websocket-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add support for custom request headers.
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"window-js": "minor"
|
||||||
|
---
|
||||||
|
|
||||||
|
Add position information to file drop events.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"window-js": "minor"
|
||||||
|
---
|
||||||
|
|
||||||
|
Add `incognito` window configuration option
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
"window": "minor:feat"
|
||||||
|
"window-js": "minor:feat"
|
||||||
|
---
|
||||||
|
|
||||||
|
Add `WebviewWindow.is_focused` and `WebviewWindow.getFocusedWindow` getters.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
"window": "patch"
|
||||||
|
"window-js": "patch"
|
||||||
|
---
|
||||||
|
|
||||||
|
The window plugin is recieving a few changes to improve consistency and add new features:
|
||||||
|
|
||||||
|
- Removed `appWindow` variable from JS module, use `getCurrent` or `Window.getCurrent`.
|
||||||
|
- Removed `WindowManager`, `WebviewWindow` and `WebviewHandle` types and merged them into one `Window` type that matches the name of the rust window type.
|
||||||
|
- Added `Window.getCurrent` and `Window.getAll` which is a convenient method for `getCurrent` and `getAll` functions.
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
"window": "patch"
|
||||||
|
"window-js": "patch"
|
||||||
|
---
|
||||||
|
|
||||||
|
Added the `setEffects` and `clearEffects` API.
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
target
|
target
|
||||||
node_modules
|
node_modules
|
||||||
dist
|
dist
|
||||||
build/
|
|
||||||
dist-js
|
dist-js
|
||||||
api-iife.js
|
api-iife.js
|
||||||
init-iife.js
|
|
||||||
init.js
|
init.js
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
<svg class="crabnebula-logo" width="100%" height="100%" viewBox="0 0 1204 210" version="1.1"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xml:space="preserve" xmlns:serif="http://www.serif.com/"
|
|
||||||
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
||||||
<style>
|
|
||||||
.crabnebula-logo path,
|
|
||||||
.crabnebula-logo rect {
|
|
||||||
fill: #001e42;
|
|
||||||
}
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
.crabnebula-logo path, .crabnebula-logo rect {
|
|
||||||
fill: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
html[data-color-mode="dark"] .crabnebula-logo path,
|
|
||||||
html[data-color-mode="dark"] .crabnebula-logo rect {
|
|
||||||
fill: #fff;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<path d="M351.903,162.334C344.288,162.334 337.123,160.881 330.41,157.975C323.696,155.069 317.834,151.11 312.824,146.099C307.914,141.089 304.006,135.276 301.101,128.662C298.195,121.948 296.742,114.783 296.742,107.167C296.742,99.55 298.195,92.435 301.101,85.821C304.006,79.107 307.914,73.244 312.824,68.234C317.834,63.223 323.696,59.265 330.41,56.358C337.123,53.452 344.288,51.999 351.903,51.999C357.414,51.999 362.675,52.701 367.685,54.103C372.795,55.507 377.455,57.511 381.663,60.116C385.972,62.622 389.83,65.678 393.237,69.286C396.644,72.793 399.499,76.752 401.804,81.161L380.762,92.586C377.756,87.174 373.848,82.915 369.038,79.808C364.328,76.702 358.617,75.148 351.903,75.148C347.494,75.148 343.386,76 339.578,77.704C335.871,79.407 332.614,81.762 329.809,84.769C327.003,87.675 324.798,91.082 323.195,94.991C321.592,98.799 320.79,102.857 320.79,107.167C320.79,111.476 321.592,115.584 323.195,119.493C324.798,123.301 327.003,126.708 329.809,129.715C332.614,132.621 335.871,134.926 339.578,136.629C343.386,138.333 347.494,139.185 351.903,139.185C358.617,139.185 364.328,137.631 369.038,134.525C373.848,131.418 377.756,127.159 380.762,121.748L401.804,133.172C399.499,137.581 396.644,141.59 393.237,145.198C389.83,148.705 385.972,151.762 381.663,154.367C377.455,156.872 372.795,158.827 367.685,160.23C362.675,161.633 357.414,162.334 351.903,162.334Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M413.821,85.37L436.517,85.37L436.517,96.644C437.72,93.337 439.924,90.481 443.131,88.076C446.437,85.671 450.195,84.468 454.403,84.468C455.506,84.468 456.658,84.518 457.86,84.619C459.063,84.719 460.366,84.969 461.768,85.37L461.768,108.369C460.065,107.768 458.412,107.317 456.808,107.016C455.205,106.716 453.502,106.565 451.698,106.565C446.788,106.565 443.03,108.269 440.425,111.676C437.82,115.083 436.517,119.493 436.517,124.904L436.517,160.53L413.821,160.53L413.821,85.37Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M502.161,162.184C497.251,162.184 492.642,161.132 488.333,159.027C484.125,156.923 480.467,154.117 477.361,150.609C474.255,147.001 471.8,142.843 469.996,138.133C468.193,133.322 467.291,128.261 467.291,122.95C467.291,117.639 468.193,112.628 469.996,107.918C471.8,103.108 474.255,98.949 477.361,95.442C480.467,91.834 484.125,88.978 488.333,86.873C492.642,84.769 497.251,83.717 502.161,83.717C504.666,83.717 506.971,84.017 509.075,84.619C511.28,85.12 513.234,85.821 514.937,86.723C516.741,87.625 518.244,88.627 519.446,89.729C520.749,90.832 521.801,91.884 522.603,92.886L522.603,85.37L545.299,85.37L545.299,160.53L522.603,160.53L522.603,153.014C521.801,154.016 520.749,155.069 519.446,156.171C518.244,157.273 516.741,158.275 514.937,159.177C513.234,160.079 511.28,160.781 509.075,161.282C506.971,161.883 504.666,162.184 502.161,162.184ZM507.272,141.59C512.382,141.59 516.49,139.836 519.597,136.329C522.803,132.821 524.406,128.362 524.406,122.95C524.406,117.539 522.803,113.079 519.597,109.572C516.49,106.064 512.382,104.31 507.272,104.31C502.161,104.31 498.003,106.064 494.796,109.572C491.69,113.079 490.137,117.539 490.137,122.95C490.137,128.362 491.69,132.821 494.796,136.329C498.003,139.836 502.161,141.59 507.272,141.59Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M607.116,162.184C604.611,162.184 602.256,161.883 600.051,161.282C597.947,160.781 595.993,160.079 594.19,159.177C592.486,158.275 590.983,157.273 589.681,156.171C588.378,155.069 587.376,154.016 586.674,153.014L586.674,160.53L563.979,160.53L563.979,47.79L586.674,47.79L586.674,92.886C587.376,91.884 588.378,90.832 589.681,89.729C590.983,88.627 592.486,87.625 594.19,86.723C595.993,85.821 597.947,85.12 600.051,84.619C602.256,84.017 604.611,83.717 607.116,83.717C612.026,83.717 616.585,84.769 620.793,86.873C625.102,88.978 628.81,91.834 631.916,95.442C635.022,98.949 637.477,103.108 639.281,107.918C641.084,112.628 641.986,117.639 641.986,122.95C641.986,128.261 641.084,133.322 639.281,138.133C637.477,142.843 635.022,147.001 631.916,150.609C628.81,154.117 625.102,156.923 620.793,159.027C616.585,161.132 612.026,162.184 607.116,162.184ZM602.005,141.59C607.116,141.59 611.224,139.836 614.33,136.329C617.537,132.821 619.14,128.362 619.14,122.95C619.14,117.539 617.537,113.079 614.33,109.572C611.224,106.064 607.116,104.31 602.005,104.31C596.895,104.31 592.737,106.064 589.53,109.572C586.424,113.079 584.871,117.539 584.871,122.95C584.871,128.362 586.424,132.821 589.53,136.329C592.737,139.836 596.895,141.59 602.005,141.59Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M732.106,160.53L680.101,94.54L680.101,160.53L656.203,160.53L656.203,53.803L676.795,53.803L728.649,119.793L728.649,53.803L752.698,53.803L752.698,160.53L732.106,160.53Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M806.852,162.184C801.341,162.184 796.13,161.282 791.22,159.478C786.411,157.674 782.202,155.069 778.595,151.661C774.988,148.254 772.132,144.145 770.028,139.335C767.923,134.425 766.871,128.963 766.871,122.95C766.871,117.338 767.823,112.177 769.727,107.467C771.731,102.657 774.487,98.498 777.994,94.991C781.601,91.483 785.809,88.727 790.619,86.723C795.429,84.719 800.69,83.717 806.401,83.717C811.311,83.717 816.021,84.518 820.53,86.122C825.139,87.625 829.147,89.93 832.554,93.036C835.961,96.043 838.666,99.851 840.67,104.461C842.775,108.97 843.827,114.282 843.827,120.395C843.827,121.397 843.777,122.549 843.677,123.852C843.677,125.055 843.576,126.558 843.376,128.362L788.816,128.362C789.517,132.871 791.671,136.228 795.279,138.433C798.886,140.538 802.844,141.59 807.153,141.59C811.562,141.59 815.319,140.738 818.425,139.034C821.632,137.231 823.937,135.226 825.339,133.022L842.173,145.649C838.666,150.659 833.857,154.668 827.744,157.674C821.732,160.681 814.768,162.184 806.852,162.184ZM821.281,113.48C820.279,109.471 818.275,106.615 815.269,104.912C812.263,103.108 809.107,102.206 805.8,102.206C804.096,102.206 802.393,102.406 800.69,102.807C798.986,103.208 797.383,103.859 795.88,104.761C794.377,105.663 793.024,106.816 791.822,108.219C790.719,109.622 789.918,111.376 789.417,113.48L821.281,113.48Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M901.265,162.184C898.76,162.184 896.405,161.883 894.201,161.282C892.097,160.781 890.143,160.079 888.339,159.177C886.636,158.275 885.133,157.273 883.83,156.171C882.527,155.069 881.525,154.016 880.824,153.014L880.824,160.53L858.128,160.53L858.128,47.79L880.824,47.79L880.824,92.886C881.525,91.884 882.527,90.832 883.83,89.729C885.133,88.627 886.636,87.625 888.339,86.723C890.143,85.821 892.097,85.12 894.201,84.619C896.405,84.017 898.76,83.717 901.265,83.717C906.175,83.717 910.734,84.769 914.943,86.873C919.252,88.978 922.959,91.834 926.065,95.442C929.172,98.949 931.627,103.108 933.43,107.918C935.234,112.628 936.136,117.639 936.136,122.95C936.136,128.261 935.234,133.322 933.43,138.133C931.627,142.843 929.172,147.001 926.065,150.609C922.959,154.117 919.252,156.923 914.943,159.027C910.734,161.132 906.175,162.184 901.265,162.184ZM896.155,141.59C901.265,141.59 905.374,139.836 908.48,136.329C911.686,132.821 913.29,128.362 913.29,122.95C913.29,117.539 911.686,113.079 908.48,109.572C905.374,106.064 901.265,104.31 896.155,104.31C891.045,104.31 886.886,106.064 883.68,109.572C880.573,113.079 879.02,117.539 879.02,122.95C879.02,128.362 880.573,132.821 883.68,136.329C886.886,139.836 891.045,141.59 896.155,141.59Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M977.812,162.184C968.493,162.184 961.429,159.077 956.619,152.864C951.81,146.651 949.405,138.433 949.405,128.211L949.405,85.37L972.101,85.37L972.101,124.303C972.101,129.815 972.952,134.074 974.656,137.08C976.459,140.087 979.466,141.59 983.674,141.59C987.983,141.59 991.39,140.037 993.895,136.93C996.5,133.823 997.803,128.813 997.803,121.898L997.803,85.37L1020.5,85.37L1020.5,160.53L997.803,160.53L997.803,152.864C995.999,155.469 993.444,157.674 990.137,159.478C986.83,161.282 982.722,162.184 977.812,162.184Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<rect x="1039.11" y="47.79" width="22.701" height="112.74" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M1110.86,162.184C1105.95,162.184 1101.34,161.132 1097.03,159.027C1092.83,156.923 1089.17,154.117 1086.06,150.609C1082.96,147.001 1080.5,142.843 1078.7,138.133C1076.89,133.322 1075.99,128.261 1075.99,122.95C1075.99,117.639 1076.89,112.628 1078.7,107.918C1080.5,103.108 1082.96,98.949 1086.06,95.442C1089.17,91.834 1092.83,88.978 1097.03,86.873C1101.34,84.769 1105.95,83.717 1110.86,83.717C1113.37,83.717 1115.67,84.017 1117.78,84.619C1119.98,85.12 1121.94,85.821 1123.64,86.723C1125.44,87.625 1126.95,88.627 1128.15,89.729C1129.45,90.832 1130.5,91.884 1131.3,92.886L1131.3,85.37L1154,85.37L1154,160.53L1131.3,160.53L1131.3,153.014C1130.5,154.016 1129.45,155.069 1128.15,156.171C1126.95,157.273 1125.44,158.275 1123.64,159.177C1121.94,160.079 1119.98,160.781 1117.78,161.282C1115.67,161.883 1113.37,162.184 1110.86,162.184ZM1115.97,141.59C1121.08,141.59 1125.19,139.836 1128.3,136.329C1131.5,132.821 1133.11,128.362 1133.11,122.95C1133.11,117.539 1131.5,113.079 1128.3,109.572C1125.19,106.064 1121.08,104.31 1115.97,104.31C1110.86,104.31 1106.7,106.064 1103.5,109.572C1100.39,113.079 1098.84,117.539 1098.84,122.95C1098.84,128.362 1100.39,132.821 1103.5,136.329C1106.7,139.836 1110.86,141.59 1115.97,141.59Z" style="fill-rule:nonzero;stroke:black;stroke-width:0.55px;"/>
|
|
||||||
<path d="M146.48,54.585C119.724,89.866 119.878,134.941 146.826,155.264C153.908,160.605 162.136,163.705 170.903,164.732C146.032,184.934 117.382,191.203 98.037,178.045C71.507,160 72.524,112.249 100.309,71.391C123.51,37.273 158.039,18.749 184.247,24.072C170.404,30.195 157.116,40.561 146.48,54.585ZM181.638,99.643C169.141,111.453 154.859,119.304 142.801,121.916C149.921,147.367 177.29,149.323 177.29,149.323C177.29,149.323 193.578,145.578 205.877,117.941C216.005,95.183 215.122,71.668 204.914,59.7C204.065,71.267 195.731,86.324 181.638,99.643Z" style="stroke:black;stroke-width:0.55px;"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 11 KiB |
@@ -25,6 +25,10 @@ jobs:
|
|||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
|
app:
|
||||||
|
- .github/workflows/check-generated-files.yml
|
||||||
|
- plugins/app/guest-js/**
|
||||||
|
- plugins/app/src/api-iife.js
|
||||||
authenticator:
|
authenticator:
|
||||||
- .github/workflows/check-generated-files.yml
|
- .github/workflows/check-generated-files.yml
|
||||||
- plugins/authenticator/guest-js/**
|
- plugins/authenticator/guest-js/**
|
||||||
@@ -105,6 +109,10 @@ jobs:
|
|||||||
- .github/workflows/check-generated-files.yml
|
- .github/workflows/check-generated-files.yml
|
||||||
- plugins/websocket/guest-js/**
|
- plugins/websocket/guest-js/**
|
||||||
- plugins/websocket/src/api-iife.js
|
- plugins/websocket/src/api-iife.js
|
||||||
|
window:
|
||||||
|
- .github/workflows/check-generated-files.yml
|
||||||
|
- plugins/window/guest-js/**
|
||||||
|
- plugins/window/src/api-iife.js
|
||||||
window-state:
|
window-state:
|
||||||
- .github/workflows/check-generated-files.yml
|
- .github/workflows/check-generated-files.yml
|
||||||
- plugins/window-state/guest-js/**
|
- plugins/window-state/guest-js/**
|
||||||
|
|||||||
@@ -41,6 +41,9 @@ jobs:
|
|||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
|
tauri-plugin-app:
|
||||||
|
- .github/workflows/lint-rust.yml
|
||||||
|
- plugins/app/**
|
||||||
tauri-plugin-authenticator:
|
tauri-plugin-authenticator:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/authenticator/**
|
- plugins/authenticator/**
|
||||||
@@ -113,6 +116,9 @@ jobs:
|
|||||||
tauri-plugin-websocket:
|
tauri-plugin-websocket:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/websocket/**
|
- plugins/websocket/**
|
||||||
|
tauri-plugin-window:
|
||||||
|
- .github/workflows/lint-rust.yml
|
||||||
|
- plugins/window/**
|
||||||
tauri-plugin-window-state:
|
tauri-plugin-window-state:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/window-state/**
|
- plugins/window-state/**
|
||||||
@@ -149,6 +155,10 @@ jobs:
|
|||||||
if: matrix.package != 'tauri-plugin-sql'
|
if: matrix.package != 'tauri-plugin-sql'
|
||||||
run: cargo clippy --package ${{ matrix.package }} --all-targets -- -D warnings
|
run: cargo clippy --package ${{ matrix.package }} --all-targets -- -D warnings
|
||||||
|
|
||||||
|
- name: clippy ${{ matrix.package }} --all-features
|
||||||
|
if: ${{ !contains(fromJSON('["tauri-plugin-http", "tauri-plugin-upload", "tauri-plugin-updater", "tauri-plugin-websocket", "tauri-plugin-sql"]'), matrix.package) }}
|
||||||
|
run: cargo clippy --package ${{ matrix.package }} --all-targets --all-features -- -D warnings
|
||||||
|
|
||||||
- name: clippy ${{ matrix.package }} mysql
|
- name: clippy ${{ matrix.package }} mysql
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
if: matrix.package == 'tauri-plugin-sql'
|
||||||
run: cargo clippy --package ${{ matrix.package }} --all-targets --no-default-features --features mysql -- -D warnings
|
run: cargo clippy --package ${{ matrix.package }} --all-targets --no-default-features --features mysql -- -D warnings
|
||||||
@@ -159,6 +169,8 @@ jobs:
|
|||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ jobs:
|
|||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
|
tauri-plugin-app:
|
||||||
|
- .github/workflows/test-rust.yml
|
||||||
|
- plugins/app/**
|
||||||
tauri-plugin-authenticator:
|
tauri-plugin-authenticator:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
- plugins/authenticator/**
|
- plugins/authenticator/**
|
||||||
@@ -115,6 +118,9 @@ jobs:
|
|||||||
tauri-plugin-websocket:
|
tauri-plugin-websocket:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
- plugins/websocket/**
|
- plugins/websocket/**
|
||||||
|
tauri-plugin-window:
|
||||||
|
- .github/workflows/test-rust.yml
|
||||||
|
- plugins/window/**
|
||||||
tauri-plugin-window-state:
|
tauri-plugin-window-state:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
- plugins/window-state/**
|
- plugins/window-state/**
|
||||||
@@ -130,31 +136,31 @@ jobs:
|
|||||||
- {
|
- {
|
||||||
target: x86_64-pc-windows-msvc,
|
target: x86_64-pc-windows-msvc,
|
||||||
os: windows-latest,
|
os: windows-latest,
|
||||||
runner: 'cargo',
|
cross: false,
|
||||||
command: "test",
|
command: "test",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: x86_64-unknown-linux-gnu,
|
target: x86_64-unknown-linux-gnu,
|
||||||
os: ubuntu-latest,
|
os: ubuntu-latest,
|
||||||
runner: 'cargo',
|
cross: false,
|
||||||
command: "test",
|
command: "test",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: x86_64-apple-darwin,
|
target: x86_64-apple-darwin,
|
||||||
os: macos-latest,
|
os: macos-latest,
|
||||||
runner: 'cargo',
|
cross: false,
|
||||||
command: "test",
|
command: "test",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: aarch64-apple-ios,
|
target: aarch64-apple-ios,
|
||||||
os: macos-latest,
|
os: macos-latest,
|
||||||
runner: 'cargo',
|
cross: false,
|
||||||
command: "build",
|
command: "build",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: aarch64-linux-android,
|
target: aarch64-linux-android,
|
||||||
os: ubuntu-latest,
|
os: ubuntu-latest,
|
||||||
runner: 'cross',
|
cross: true,
|
||||||
command: "build",
|
command: "build",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -175,38 +181,51 @@ jobs:
|
|||||||
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
|
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
|
||||||
vcpkg install openssl:x64-windows-static-md
|
vcpkg install openssl:x64-windows-static-md
|
||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@1.70.0
|
- uses: dtolnay/rust-toolchain@1.65.0
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.platform.target }}
|
targets: ${{ matrix.platform.target }}
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
key: cache-${{ matrix.package }}-${{ matrix.platform.target }}
|
key: ${{ matrix.package }}
|
||||||
|
|
||||||
- name: create dummy dist
|
- name: create dummy dist
|
||||||
working-directory: examples/api
|
working-directory: examples/api
|
||||||
run: mkdir dist
|
run: mkdir dist
|
||||||
|
|
||||||
- name: install cross
|
- name: Downgrade crates with MSRV conflict
|
||||||
if: ${{ matrix.platform.runner == 'cross' }}
|
# The --precise flag can only be used once per invocation.
|
||||||
run: cargo install cross --git https://github.com/cross-rs/cross
|
run: |
|
||||||
|
cargo update -p time@0.3.24 --precise 0.3.23
|
||||||
|
|
||||||
- name: test ${{ matrix.package }}
|
- name: test ${{ matrix.package }}
|
||||||
if: matrix.package != 'tauri-plugin-sql' && matrix.package != 'tauri-plugin-http'
|
if: matrix.package != 'tauri-plugin-sql'
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --all-features
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
use-cross: ${{ matrix.platform.cross }}
|
||||||
|
command: ${{ matrix.platform.command }}
|
||||||
|
args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets
|
||||||
|
|
||||||
- name: test ${{ matrix.package }}
|
- name: test ${{ matrix.package }} --all-features
|
||||||
if: matrix.package == 'tauri-plugin-http'
|
if: ${{ !contains(fromJSON('["tauri-plugin-http", "tauri-plugin-upload", "tauri-plugin-updater", "tauri-plugin-websocket", "tauri-plugin-sql"]'), matrix.package) }}
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
- name: test ${{ matrix.package }} sqlite
|
use-cross: ${{ matrix.platform.cross }}
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
command: ${{ matrix.platform.command }}
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features sqlite
|
args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --all-features
|
||||||
|
|
||||||
- name: test ${{ matrix.package }} mysql
|
- name: test ${{ matrix.package }} mysql
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
if: matrix.package == 'tauri-plugin-sql'
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features mysql
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
use-cross: ${{ matrix.platform.cross }}
|
||||||
|
command: ${{ matrix.platform.command }}
|
||||||
|
args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features mysql
|
||||||
|
|
||||||
- name: test ${{ matrix.package }} postgres
|
- name: test ${{ matrix.package }} postgres
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
if: matrix.package == 'tauri-plugin-sql'
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features postgres
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
use-cross: ${{ matrix.platform.cross }}
|
||||||
|
command: ${{ matrix.platform.command }}
|
||||||
|
args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features postgres
|
||||||
|
|||||||
@@ -5,7 +5,4 @@ dist-js
|
|||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
.build
|
.build
|
||||||
build
|
api-iife.js
|
||||||
api-iife.js
|
|
||||||
init-iife.js
|
|
||||||
intermediates/
|
|
||||||
@@ -21,8 +21,6 @@ const ignore = [
|
|||||||
"dist-js",
|
"dist-js",
|
||||||
".svelte-kit",
|
".svelte-kit",
|
||||||
"api-iife.js",
|
"api-iife.js",
|
||||||
"init-iife.js",
|
|
||||||
".build",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
async function checkFile(file) {
|
async function checkFile(file) {
|
||||||
@@ -72,9 +70,7 @@ async function checkFile(file) {
|
|||||||
async function check(src) {
|
async function check(src) {
|
||||||
const missingHeader = [];
|
const missingHeader = [];
|
||||||
|
|
||||||
for (const entry of fs.readdirSync(src, {
|
for (const entry of fs.readdirSync(src, { withFileTypes: true })) {
|
||||||
withFileTypes: true,
|
|
||||||
})) {
|
|
||||||
const p = path.join(src, entry.name);
|
const p = path.join(src, entry.name);
|
||||||
|
|
||||||
if (entry.isSymbolicLink() || ignore.includes(entry.name)) {
|
if (entry.isSymbolicLink() || ignore.includes(entry.name)) {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = ["plugins/*", "plugins/*/tests/*", "plugins/*/examples/*/src-tauri", "examples/*/src-tauri"]
|
members = ["plugins/*", "plugins/*/tests/*", "examples/*/src-tauri"]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
tauri = "2.0.0-alpha.18"
|
tauri = "2.0.0-alpha.12"
|
||||||
tauri-build = "2.0.0-alpha.12"
|
tauri-build = "2.0.0-alpha.8"
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ thiserror = "1"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
authors = [ "Tauri Programme within The Commons Conservancy" ]
|
||||||
license = "Apache-2.0 OR MIT"
|
license = "Apache-2.0 OR MIT"
|
||||||
rust-version = "1.70"
|
rust-version = "1.65"
|
||||||
|
|
||||||
# default to small, optimized release binaries
|
# default to small, optimized release binaries
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|||||||
@@ -16,20 +16,4 @@
|
|||||||
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. | ✅ | ✅ | ✅ | ? | ? |
|
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ? | ? |
|
| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
|
|
||||||
_This repo and all plugins require a Rust version of at least **1.70**_
|
_This repo and all plugins require a Rust version of at least **1.65**_
|
||||||
|
|
||||||
## Partners
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td align="center" valign="middle">
|
|
||||||
<a href="https://crabnebula.dev" target="_blank">
|
|
||||||
<img src=".github/sponsors/crabnebula.svg" alt="CrabNebula" width="283">
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
For the complete list of sponsors please visit our [website](https://tauri.app#sponsors) and [Open Collective](https://opencollective.com/tauri).
|
|
||||||
|
|||||||
@@ -1,71 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## \[2.0.0-alpha.6]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `barcode-scanner-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `cli-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `clipboard-manager-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `dialog-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `fs-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `global-shortcut-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `http-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `log-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `notification-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `os-js@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `process-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `shell-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `updater-js@2.0.0-alpha.4`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.5]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `barcode-scanner-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `cli-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `clipboard-manager-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `dialog-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `fs-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `global-shortcut-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `http-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `log-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `notification-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `os-js@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `process-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `shell-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `updater-js@2.0.0-alpha.3`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.4]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `barcode-scanner-js@2.0.0-alpha.1`
|
|
||||||
- Upgraded to `cli-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `clipboard-manager-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `dialog-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `fs-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `global-shortcut-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `http-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `log-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `notification-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `os-js@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `process-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `shell-js@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `updater-js@2.0.0-alpha.2`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.3]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `barcode-scanner-js@2.0.0-alpha.0`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.2]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `os-js@2.0.0-alpha.2`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.1]
|
## \[2.0.0-alpha.1]
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "svelte-app",
|
"name": "svelte-app",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.0.0-alpha.6",
|
"version": "2.0.0-alpha.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --clearScreen false",
|
"dev": "vite --clearScreen false",
|
||||||
@@ -9,30 +9,31 @@
|
|||||||
"serve": "vite preview"
|
"serve": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "2.0.0-alpha.12",
|
"@tauri-apps/api": "2.0.0-alpha.6",
|
||||||
"@tauri-apps/plugin-barcode-scanner": "2.0.0-alpha.3",
|
"@tauri-apps/plugin-app": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-cli": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-cli": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-clipboard-manager": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-clipboard-manager": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-dialog": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-dialog": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-fs": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-fs": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-global-shortcut": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-global-shortcut": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-http": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-http": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-notification": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-notification": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-os": "2.0.0-alpha.5",
|
"@tauri-apps/plugin-os": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-process": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-process": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-shell": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-shell": "2.0.0-alpha.1",
|
||||||
"@tauri-apps/plugin-updater": "2.0.0-alpha.4",
|
"@tauri-apps/plugin-updater": "2.0.0-alpha.1",
|
||||||
"@zerodevx/svelte-json-view": "1.0.7"
|
"@tauri-apps/plugin-window": "2.0.0-alpha.1",
|
||||||
|
"@zerodevx/svelte-json-view": "1.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify-json/codicon": "^1.1.37",
|
"@iconify-json/codicon": "^1.1.26",
|
||||||
"@iconify-json/ph": "^1.1.8",
|
"@iconify-json/ph": "^1.1.5",
|
||||||
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
"@sveltejs/vite-plugin-svelte": "^2.4.1",
|
||||||
"@tauri-apps/cli": "2.0.0-alpha.18",
|
"@tauri-apps/cli": "2.0.0-alpha.11",
|
||||||
"@unocss/extractor-svelte": "^0.58.0",
|
"@unocss/extractor-svelte": "^0.53.1",
|
||||||
"internal-ip": "^8.0.0",
|
"internal-ip": "^8.0.0",
|
||||||
"svelte": "^4.2.8",
|
"svelte": "^3.59.1",
|
||||||
"unocss": "^0.58.0",
|
"unocss": "^0.53.1",
|
||||||
"vite": "^5.0.6"
|
"vite": "^4.3.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,90 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## \[2.0.0-alpha.8]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `barcode-scanner@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `cli@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `clipboard-manager@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `dialog@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `fs@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `global-shortcut@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `http@2.0.0-alpha.6`
|
|
||||||
- Upgraded to `log-plugin@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `notification@2.0.0-alpha.6`
|
|
||||||
- Upgraded to `os@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `process@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `shell@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `updater@2.0.0-alpha.5`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.7]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `barcode-scanner@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `cli@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `clipboard-manager@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `dialog@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `fs@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `global-shortcut@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `http@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `log-plugin@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `notification@2.0.0-alpha.5`
|
|
||||||
- Upgraded to `os@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `process@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `shell@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `updater@2.0.0-alpha.4`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.6]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `log-plugin@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `shell@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `dialog@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `notification@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `updater@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `global-shortcut@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `barcode-scanner@2.0.0-alpha.1`
|
|
||||||
- Upgraded to `cli@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `clipboard-manager@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `fs@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `http@2.0.0-alpha.4`
|
|
||||||
- Upgraded to `os@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `process@2.0.0-alpha.3`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.5]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `barcode-scanner@2.0.0-alpha.0`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.4]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `http@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `app@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `cli@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `clipboard-manager@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `dialog@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `fs@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `global-shortcut@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `log-plugin@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `notification@2.0.0-alpha.3`
|
|
||||||
- Upgraded to `os@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `process@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `shell@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `updater@2.0.0-alpha.2`
|
|
||||||
- Upgraded to `window@2.0.0-alpha.2`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.3]
|
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
- Upgraded to `http@2.0.0-alpha.2`
|
|
||||||
|
|
||||||
## \[2.0.0-alpha.2]
|
## \[2.0.0-alpha.2]
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "api"
|
name = "api"
|
||||||
publish = false
|
publish = false
|
||||||
version = "2.0.0-alpha.8"
|
version = "2.0.0-alpha.2"
|
||||||
description = "An example Tauri Application showcasing the api"
|
description = "An example Tauri Application showcasing the api"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = { workspace = true }
|
rust-version = { workspace = true }
|
||||||
license = "Apache-2.0 OR MIT"
|
license = "Apache-2.0 OR MIT"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "api_lib"
|
|
||||||
crate-type = [ "staticlib", "cdylib", "rlib" ]
|
crate-type = [ "staticlib", "cdylib", "rlib" ]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
@@ -19,15 +18,17 @@ serde_json = { workspace = true }
|
|||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
tiny_http = "0.11"
|
tiny_http = "0.11"
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-alpha.5" }
|
tauri-plugin-app = { path = "../../../plugins/app", version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-alpha.5" }
|
tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.0-alpha.5" }
|
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-alpha.5" }
|
tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.0-alpha.0" }
|
||||||
tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-alpha.6" }
|
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-alpha.6", features = [ "windows7-compat" ] }
|
tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-alpha.5" }
|
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-alpha.2", features = [ "windows7-compat" ] }
|
||||||
tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-alpha.5" }
|
tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-alpha.5" }
|
tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-alpha.1" }
|
||||||
|
tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-alpha.1" }
|
||||||
|
tauri-plugin-window = { path = "../../../plugins/window", version = "2.0.0-alpha.1", features = [ "devtools", "icon-ico", "icon-png" ] }
|
||||||
|
|
||||||
[dependencies.tauri]
|
[dependencies.tauri]
|
||||||
workspace = true
|
workspace = true
|
||||||
@@ -41,12 +42,9 @@ tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-alpha.5
|
|||||||
]
|
]
|
||||||
|
|
||||||
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
|
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
|
||||||
tauri-plugin-cli = { path = "../../../plugins/cli", version = "2.0.0-alpha.5" }
|
tauri-plugin-cli = { path = "../../../plugins/cli", version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.0-alpha.5" }
|
tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.0-alpha.1" }
|
||||||
tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-alpha.5" }
|
tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-alpha.1" }
|
||||||
|
|
||||||
[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
|
|
||||||
tauri-plugin-barcode-scanner = { path = "../../../plugins/barcode-scanner/", version = "2.0.0-alpha.3" }
|
|
||||||
|
|
||||||
[target."cfg(target_os = \"windows\")".dependencies]
|
[target."cfg(target_os = \"windows\")".dependencies]
|
||||||
window-shadows = "0.2"
|
window-shadows = "0.2"
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
||||||
<application
|
<application
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
|||||||
@@ -1,6 +1,16 @@
|
|||||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
<!-- Base application theme. -->
|
<!-- Base application theme. -->
|
||||||
<style name="Theme.api" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
<style name="Theme.api" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
||||||
|
<!-- Primary brand color. -->
|
||||||
|
<item name="colorPrimary">@color/purple_200</item>
|
||||||
|
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||||
|
<item name="colorOnPrimary">@color/black</item>
|
||||||
|
<!-- Secondary brand color. -->
|
||||||
|
<item name="colorSecondary">@color/teal_200</item>
|
||||||
|
<item name="colorSecondaryVariant">@color/teal_200</item>
|
||||||
|
<item name="colorOnSecondary">@color/black</item>
|
||||||
|
<!-- Status bar color. -->
|
||||||
|
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||||
<!-- Customize your theme here. -->
|
<!-- Customize your theme here. -->
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -1,6 +1,16 @@
|
|||||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
<!-- Base application theme. -->
|
<!-- Base application theme. -->
|
||||||
<style name="Theme.api" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
<style name="Theme.api" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
||||||
|
<!-- Primary brand color. -->
|
||||||
|
<item name="colorPrimary">@color/purple_500</item>
|
||||||
|
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||||
|
<item name="colorOnPrimary">@color/white</item>
|
||||||
|
<!-- Secondary brand color. -->
|
||||||
|
<item name="colorSecondary">@color/teal_200</item>
|
||||||
|
<item name="colorSecondaryVariant">@color/teal_700</item>
|
||||||
|
<item name="colorOnSecondary">@color/black</item>
|
||||||
|
<!-- Status bar color. -->
|
||||||
|
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||||
<!-- Customize your theme here. -->
|
<!-- Customize your theme here. -->
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ open class BuildTask : DefaultTask() {
|
|||||||
|
|
||||||
@TaskAction
|
@TaskAction
|
||||||
fun assemble() {
|
fun assemble() {
|
||||||
val executable = """node""";
|
val executable = """pnpm""";
|
||||||
try {
|
try {
|
||||||
runTauriCli(executable)
|
runTauriCli(executable)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
@@ -32,7 +32,7 @@ open class BuildTask : DefaultTask() {
|
|||||||
val rootDirRel = rootDirRel ?: throw GradleException("rootDirRel cannot be null")
|
val rootDirRel = rootDirRel ?: throw GradleException("rootDirRel cannot be null")
|
||||||
val target = target ?: throw GradleException("target cannot be null")
|
val target = target ?: throw GradleException("target cannot be null")
|
||||||
val release = release ?: throw GradleException("release cannot be null")
|
val release = release ?: throw GradleException("release cannot be null")
|
||||||
val args = listOf("../node_modules/.bin/../@tauri-apps/cli/tauri.js", "android", "android-studio-script");
|
val args = listOf("tauri", "android", "android-studio-script");
|
||||||
|
|
||||||
project.exec {
|
project.exec {
|
||||||
workingDir(File(project.projectDir, rootDirRel))
|
workingDir(File(project.projectDir, rootDirRel))
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
xcuserdata/
|
|
||||||
build/
|
|
||||||
Externals/
|
|
||||||
|
Before Width: | Height: | Size: 844 B |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 11 KiB |
@@ -1,116 +0,0 @@
|
|||||||
{
|
|
||||||
"images": [
|
|
||||||
{
|
|
||||||
"size": "20x20",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-20x20@2x.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "20x20",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-20x20@3x.png",
|
|
||||||
"scale": "3x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "29x29",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-29x29@2x-1.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "29x29",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-29x29@3x.png",
|
|
||||||
"scale": "3x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "40x40",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-40x40@2x.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "40x40",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-40x40@3x.png",
|
|
||||||
"scale": "3x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "60x60",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-60x60@2x.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "60x60",
|
|
||||||
"idiom": "iphone",
|
|
||||||
"filename": "AppIcon-60x60@3x.png",
|
|
||||||
"scale": "3x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "20x20",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-20x20@1x.png",
|
|
||||||
"scale": "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "20x20",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-20x20@2x-1.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "29x29",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-29x29@1x.png",
|
|
||||||
"scale": "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "29x29",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-29x29@2x.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "40x40",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-40x40@1x.png",
|
|
||||||
"scale": "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "40x40",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-40x40@2x-1.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "76x76",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-76x76@1x.png",
|
|
||||||
"scale": "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "76x76",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-76x76@2x.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "83.5x83.5",
|
|
||||||
"idiom": "ipad",
|
|
||||||
"filename": "AppIcon-83.5x83.5@2x.png",
|
|
||||||
"scale": "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size": "1024x1024",
|
|
||||||
"idiom": "ios-marketing",
|
|
||||||
"filename": "AppIcon-512@2x.png",
|
|
||||||
"scale": "1x"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info": {
|
|
||||||
"version": 1,
|
|
||||||
"author": "xcode"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"info": {
|
|
||||||
"version": 1,
|
|
||||||
"author": "xcode"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>method</key>
|
|
||||||
<string>development</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# Uncomment the next line to define a global platform for your project
|
|
||||||
|
|
||||||
target 'api_iOS' do
|
|
||||||
platform :ios, '13.0'
|
|
||||||
# Pods for api_iOS
|
|
||||||
end
|
|
||||||
|
|
||||||
target 'api_macOS' do
|
|
||||||
platform :osx, '11.0'
|
|
||||||
# Pods for api_macOS
|
|
||||||
end
|
|
||||||
|
|
||||||
# Delete the deployment target for iOS and macOS, causing it to be inherited from the Podfile
|
|
||||||
post_install do |installer|
|
|
||||||
installer.pods_project.targets.each do |target|
|
|
||||||
target.build_configurations.each do |config|
|
|
||||||
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
|
|
||||||
config.build_settings.delete 'MACOSX_DEPLOYMENT_TARGET'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
namespace ffi {
|
|
||||||
extern "C" {
|
|
||||||
void start_app();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#include "bindings/bindings.h"
|
|
||||||
|
|
||||||
int main(int argc, char * argv[]) {
|
|
||||||
ffi::start_app();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,462 +0,0 @@
|
|||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 51;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
2ECFC1BC47D948875C8CEC41 /* libapi.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FC53D4128D7F74E4E6338455 /* libapi.a */; };
|
|
||||||
3043432501C9BC2DB6B4CB95 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71EB788DE4662CFC0D97F567 /* CoreGraphics.framework */; };
|
|
||||||
328B4ADB3700C1873BEB7B10 /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 90D3B673AFAB8D8AB561F616 /* main.mm */; };
|
|
||||||
6F379F15DA085785BA2624D4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6B7E79E23E646BA7968B457C /* Assets.xcassets */; };
|
|
||||||
9AADB041D25772D04E543F15 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 62601E25FA39E62BE119B74D /* Metal.framework */; };
|
|
||||||
9DDA3BE70DD0E4013973FE38 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6082E363D51372A7658C351 /* UIKit.framework */; };
|
|
||||||
AFA0CA286325FD7A34968CA2 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 384966E551417F94A02D2706 /* Security.framework */; };
|
|
||||||
B60763BD194DFACA215EC7DA /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC377692DC31A070A0188C9D /* QuartzCore.framework */; };
|
|
||||||
C6D80743F168BDF017B7769E /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 59CFE20DCF760BE67D9CE3D6 /* WebKit.framework */; };
|
|
||||||
DFFF888045C8D9D9FB69E8FD /* MetalKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 338E66700FD330B99D434DD7 /* MetalKit.framework */; };
|
|
||||||
F86717F05E27C72C9FA1FB27 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 74A8FDFB350B966F5AAD4A24 /* assets */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
0E96CE07CD20273DD46BF325 /* main.rs */ = {isa = PBXFileReference; path = main.rs; sourceTree = "<group>"; };
|
|
||||||
1C1AB1B414CA2795AFBEDDB9 /* tray.rs */ = {isa = PBXFileReference; path = tray.rs; sourceTree = "<group>"; };
|
|
||||||
2F63E2AA460089BB58D40C79 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
|
|
||||||
338E66700FD330B99D434DD7 /* MetalKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalKit.framework; path = System/Library/Frameworks/MetalKit.framework; sourceTree = SDKROOT; };
|
|
||||||
384966E551417F94A02D2706 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
|
|
||||||
59CFE20DCF760BE67D9CE3D6 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
|
|
||||||
5AC703CEBA41A121596066F3 /* api_iOS.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = api_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
62601E25FA39E62BE119B74D /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
|
|
||||||
6B7E79E23E646BA7968B457C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
|
||||||
71EB788DE4662CFC0D97F567 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
|
||||||
74A8FDFB350B966F5AAD4A24 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = assets; sourceTree = SOURCE_ROOT; };
|
|
||||||
785D025E9542F7E098BF22B5 /* lib.rs */ = {isa = PBXFileReference; path = lib.rs; sourceTree = "<group>"; };
|
|
||||||
879941AE3DAA14534BBC6391 /* api_iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = api_iOS.entitlements; sourceTree = "<group>"; };
|
|
||||||
90D3B673AFAB8D8AB561F616 /* main.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = main.mm; sourceTree = "<group>"; };
|
|
||||||
B6082E363D51372A7658C351 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
|
||||||
DC377692DC31A070A0188C9D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
|
|
||||||
EC8C7948C50C3C9B5D96CB61 /* bindings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = bindings.h; sourceTree = "<group>"; };
|
|
||||||
F835F52713CE8F029D5D252C /* cmd.rs */ = {isa = PBXFileReference; path = cmd.rs; sourceTree = "<group>"; };
|
|
||||||
FC53D4128D7F74E4E6338455 /* libapi.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libapi.a; sourceTree = "<group>"; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
11E18DCDB3ADFE87C18915EF /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
2ECFC1BC47D948875C8CEC41 /* libapi.a in Frameworks */,
|
|
||||||
3043432501C9BC2DB6B4CB95 /* CoreGraphics.framework in Frameworks */,
|
|
||||||
9AADB041D25772D04E543F15 /* Metal.framework in Frameworks */,
|
|
||||||
DFFF888045C8D9D9FB69E8FD /* MetalKit.framework in Frameworks */,
|
|
||||||
B60763BD194DFACA215EC7DA /* QuartzCore.framework in Frameworks */,
|
|
||||||
AFA0CA286325FD7A34968CA2 /* Security.framework in Frameworks */,
|
|
||||||
9DDA3BE70DD0E4013973FE38 /* UIKit.framework in Frameworks */,
|
|
||||||
C6D80743F168BDF017B7769E /* WebKit.framework in Frameworks */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
0677CEAF1F282F38CBA0F140 = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
74A8FDFB350B966F5AAD4A24 /* assets */,
|
|
||||||
6B7E79E23E646BA7968B457C /* Assets.xcassets */,
|
|
||||||
F2116A6428EED18BE2A07E2B /* api_iOS */,
|
|
||||||
86D903732E10FAC4D300E8DF /* Externals */,
|
|
||||||
7A9A7AC155D9E22E54D6D847 /* Sources */,
|
|
||||||
CF9AA87D2F6E9C389B7AB70B /* src */,
|
|
||||||
10C9FC3FA3E12D6A4A67999D /* Frameworks */,
|
|
||||||
4AC51E67B71E27F15B02C5CD /* Products */,
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
07051859D6E2D8109C8FB128 /* bindings */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
EC8C7948C50C3C9B5D96CB61 /* bindings.h */,
|
|
||||||
);
|
|
||||||
path = bindings;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
10C9FC3FA3E12D6A4A67999D /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
71EB788DE4662CFC0D97F567 /* CoreGraphics.framework */,
|
|
||||||
FC53D4128D7F74E4E6338455 /* libapi.a */,
|
|
||||||
62601E25FA39E62BE119B74D /* Metal.framework */,
|
|
||||||
338E66700FD330B99D434DD7 /* MetalKit.framework */,
|
|
||||||
DC377692DC31A070A0188C9D /* QuartzCore.framework */,
|
|
||||||
384966E551417F94A02D2706 /* Security.framework */,
|
|
||||||
B6082E363D51372A7658C351 /* UIKit.framework */,
|
|
||||||
59CFE20DCF760BE67D9CE3D6 /* WebKit.framework */,
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
4AC51E67B71E27F15B02C5CD /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
5AC703CEBA41A121596066F3 /* api_iOS.app */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
7A9A7AC155D9E22E54D6D847 /* Sources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
A3574F52DBC5463B9C3D043D /* api */,
|
|
||||||
);
|
|
||||||
path = Sources;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
86D903732E10FAC4D300E8DF /* Externals */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
);
|
|
||||||
path = Externals;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
A3574F52DBC5463B9C3D043D /* api */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
90D3B673AFAB8D8AB561F616 /* main.mm */,
|
|
||||||
07051859D6E2D8109C8FB128 /* bindings */,
|
|
||||||
);
|
|
||||||
path = api;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
CF9AA87D2F6E9C389B7AB70B /* src */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
F835F52713CE8F029D5D252C /* cmd.rs */,
|
|
||||||
785D025E9542F7E098BF22B5 /* lib.rs */,
|
|
||||||
0E96CE07CD20273DD46BF325 /* main.rs */,
|
|
||||||
1C1AB1B414CA2795AFBEDDB9 /* tray.rs */,
|
|
||||||
);
|
|
||||||
name = src;
|
|
||||||
path = ../../src;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
F2116A6428EED18BE2A07E2B /* api_iOS */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
879941AE3DAA14534BBC6391 /* api_iOS.entitlements */,
|
|
||||||
2F63E2AA460089BB58D40C79 /* Info.plist */,
|
|
||||||
);
|
|
||||||
path = api_iOS;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
54DC6E273C78071F3BA12EF3 /* api_iOS */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 01CBC40275452376830D79B1 /* Build configuration list for PBXNativeTarget "api_iOS" */;
|
|
||||||
buildPhases = (
|
|
||||||
FF948951157DE71465B5BD5F /* Build Rust Code */,
|
|
||||||
71E73CC9AB5F1323EC1F6365 /* Sources */,
|
|
||||||
CA2BEC44B6EDA1F21B6155CD /* Resources */,
|
|
||||||
11E18DCDB3ADFE87C18915EF /* Frameworks */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = api_iOS;
|
|
||||||
productName = api_iOS;
|
|
||||||
productReference = 5AC703CEBA41A121596066F3 /* api_iOS.app */;
|
|
||||||
productType = "com.apple.product-type.application";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
9BC88C3717DA5D4B78A51C15 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 1200;
|
|
||||||
TargetAttributes = {
|
|
||||||
54DC6E273C78071F3BA12EF3 = {
|
|
||||||
DevelopmentTeam = Q93MBH6S2F;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
buildConfigurationList = 8FA67D0F928A09CD639137D1 /* Build configuration list for PBXProject "api" */;
|
|
||||||
compatibilityVersion = "Xcode 11.0";
|
|
||||||
developmentRegion = en;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
Base,
|
|
||||||
en,
|
|
||||||
);
|
|
||||||
mainGroup = 0677CEAF1F282F38CBA0F140;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
54DC6E273C78071F3BA12EF3 /* api_iOS */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXResourcesBuildPhase section */
|
|
||||||
CA2BEC44B6EDA1F21B6155CD /* Resources */ = {
|
|
||||||
isa = PBXResourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
6F379F15DA085785BA2624D4 /* Assets.xcassets in Resources */,
|
|
||||||
F86717F05E27C72C9FA1FB27 /* assets in Resources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXResourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
|
||||||
FF948951157DE71465B5BD5F /* Build Rust Code */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
alwaysOutOfDate = 1;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Build Rust Code";
|
|
||||||
outputFileListPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
"$(SRCROOT)/target/aarch64-apple-ios/${CONFIGURATION}/deps/libapi.a",
|
|
||||||
"$(SRCROOT)/target/x86_64-apple-ios/${CONFIGURATION}/deps/libapi.a",
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "node ../../../node_modules/.bin/../@tauri-apps/cli/tauri.js ios xcode-script -v --platform ${PLATFORM_DISPLAY_NAME:?} --sdk-root ${SDKROOT:?} --framework-search-paths \"${FRAMEWORK_SEARCH_PATHS:?}\" --header-search-paths \"${HEADER_SEARCH_PATHS:?}\" --gcc-preprocessor-definitions \"${GCC_PREPROCESSOR_DEFINITIONS:-}\" --configuration ${CONFIGURATION:?} ${FORCE_COLOR} ${ARCHS:?}";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
71E73CC9AB5F1323EC1F6365 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
328B4ADB3700C1873BEB7B10 /* main.mm in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
A83F70B4C02DD0222038C7F1 /* release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
|
||||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
||||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_COMMA = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
||||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
||||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
||||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
||||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
||||||
ENABLE_NS_ASSERTIONS = NO;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
|
||||||
MTL_FAST_MATH = YES;
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
SWIFT_COMPILATION_MODE = wholemodule;
|
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
|
||||||
SWIFT_VERSION = 5.0;
|
|
||||||
};
|
|
||||||
name = release;
|
|
||||||
};
|
|
||||||
B6AD77E490F315562F75D3D7 /* debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
|
||||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
||||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_COMMA = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
||||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
||||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
||||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
||||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
ENABLE_TESTABILITY = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"DEBUG=1",
|
|
||||||
);
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
||||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
|
||||||
MTL_FAST_MATH = YES;
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
||||||
SWIFT_VERSION = 5.0;
|
|
||||||
};
|
|
||||||
name = debug;
|
|
||||||
};
|
|
||||||
BF284FE6E7AE0C8DDCCE398B /* debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
||||||
ARCHS = (
|
|
||||||
arm64,
|
|
||||||
"arm64-sim",
|
|
||||||
);
|
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
||||||
CODE_SIGN_ENTITLEMENTS = api_iOS/api_iOS.entitlements;
|
|
||||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
|
||||||
DEVELOPMENT_TEAM = Q93MBH6S2F;
|
|
||||||
ENABLE_BITCODE = NO;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"\".\"",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = api_iOS/Info.plist;
|
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"@executable_path/Frameworks",
|
|
||||||
);
|
|
||||||
"LIBRARY_SEARCH_PATHS[arch=arm64-sim]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
||||||
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
||||||
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.tauri.api;
|
|
||||||
PRODUCT_NAME = "Tauri API";
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
VALID_ARCHS = "arm64 arm64-sim";
|
|
||||||
};
|
|
||||||
name = debug;
|
|
||||||
};
|
|
||||||
DB0E254D0FD84970B57F6410 /* release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
||||||
ARCHS = (
|
|
||||||
arm64,
|
|
||||||
"arm64-sim",
|
|
||||||
);
|
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
||||||
CODE_SIGN_ENTITLEMENTS = api_iOS/api_iOS.entitlements;
|
|
||||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
|
||||||
DEVELOPMENT_TEAM = Q93MBH6S2F;
|
|
||||||
ENABLE_BITCODE = NO;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"\".\"",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = api_iOS/Info.plist;
|
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"@executable_path/Frameworks",
|
|
||||||
);
|
|
||||||
"LIBRARY_SEARCH_PATHS[arch=arm64-sim]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
||||||
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
||||||
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.tauri.api;
|
|
||||||
PRODUCT_NAME = "Tauri API";
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
VALID_ARCHS = "arm64 arm64-sim";
|
|
||||||
};
|
|
||||||
name = release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
01CBC40275452376830D79B1 /* Build configuration list for PBXNativeTarget "api_iOS" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
BF284FE6E7AE0C8DDCCE398B /* debug */,
|
|
||||||
DB0E254D0FD84970B57F6410 /* release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = debug;
|
|
||||||
};
|
|
||||||
8FA67D0F928A09CD639137D1 /* Build configuration list for PBXProject "api" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
B6AD77E490F315562F75D3D7 /* debug */,
|
|
||||||
A83F70B4C02DD0222038C7F1 /* release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = debug;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 9BC88C3717DA5D4B78A51C15 /* Project object */;
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Workspace
|
|
||||||
version = "1.0">
|
|
||||||
<FileRef
|
|
||||||
location = "self:">
|
|
||||||
</FileRef>
|
|
||||||
</Workspace>
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>BuildSystemType</key>
|
|
||||||
<string>Original</string>
|
|
||||||
<key>DisableBuildSystemDeprecationDiagnostic</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,131 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Scheme
|
|
||||||
LastUpgradeVersion = "1200"
|
|
||||||
version = "1.7">
|
|
||||||
<BuildAction
|
|
||||||
parallelizeBuildables = "YES"
|
|
||||||
buildImplicitDependencies = "YES"
|
|
||||||
runPostActionsOnFailure = "NO">
|
|
||||||
<BuildActionEntries>
|
|
||||||
<BuildActionEntry
|
|
||||||
buildForTesting = "YES"
|
|
||||||
buildForRunning = "YES"
|
|
||||||
buildForProfiling = "YES"
|
|
||||||
buildForArchiving = "YES"
|
|
||||||
buildForAnalyzing = "YES">
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "54DC6E273C78071F3BA12EF3"
|
|
||||||
BuildableName = "api_iOS.app"
|
|
||||||
BlueprintName = "api_iOS"
|
|
||||||
ReferencedContainer = "container:api.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</BuildActionEntry>
|
|
||||||
</BuildActionEntries>
|
|
||||||
</BuildAction>
|
|
||||||
<TestAction
|
|
||||||
buildConfiguration = "debug"
|
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
||||||
shouldUseLaunchSchemeArgsEnv = "NO"
|
|
||||||
onlyGenerateCoverageForSpecifiedTargets = "NO">
|
|
||||||
<MacroExpansion>
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "54DC6E273C78071F3BA12EF3"
|
|
||||||
BuildableName = "api_iOS.app"
|
|
||||||
BlueprintName = "api_iOS"
|
|
||||||
ReferencedContainer = "container:api.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</MacroExpansion>
|
|
||||||
<Testables>
|
|
||||||
</Testables>
|
|
||||||
<CommandLineArguments>
|
|
||||||
</CommandLineArguments>
|
|
||||||
<EnvironmentVariables>
|
|
||||||
<EnvironmentVariable
|
|
||||||
key = "RUST_BACKTRACE"
|
|
||||||
value = "full"
|
|
||||||
isEnabled = "YES">
|
|
||||||
</EnvironmentVariable>
|
|
||||||
<EnvironmentVariable
|
|
||||||
key = "RUST_LOG"
|
|
||||||
value = "info"
|
|
||||||
isEnabled = "YES">
|
|
||||||
</EnvironmentVariable>
|
|
||||||
</EnvironmentVariables>
|
|
||||||
</TestAction>
|
|
||||||
<LaunchAction
|
|
||||||
buildConfiguration = "debug"
|
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
||||||
launchStyle = "0"
|
|
||||||
useCustomWorkingDirectory = "NO"
|
|
||||||
ignoresPersistentStateOnLaunch = "NO"
|
|
||||||
debugDocumentVersioning = "YES"
|
|
||||||
debugServiceExtension = "internal"
|
|
||||||
allowLocationSimulation = "YES">
|
|
||||||
<BuildableProductRunnable
|
|
||||||
runnableDebuggingMode = "0">
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "54DC6E273C78071F3BA12EF3"
|
|
||||||
BuildableName = "api_iOS.app"
|
|
||||||
BlueprintName = "api_iOS"
|
|
||||||
ReferencedContainer = "container:api.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</BuildableProductRunnable>
|
|
||||||
<CommandLineArguments>
|
|
||||||
</CommandLineArguments>
|
|
||||||
<EnvironmentVariables>
|
|
||||||
<EnvironmentVariable
|
|
||||||
key = "RUST_BACKTRACE"
|
|
||||||
value = "full"
|
|
||||||
isEnabled = "YES">
|
|
||||||
</EnvironmentVariable>
|
|
||||||
<EnvironmentVariable
|
|
||||||
key = "RUST_LOG"
|
|
||||||
value = "info"
|
|
||||||
isEnabled = "YES">
|
|
||||||
</EnvironmentVariable>
|
|
||||||
</EnvironmentVariables>
|
|
||||||
</LaunchAction>
|
|
||||||
<ProfileAction
|
|
||||||
buildConfiguration = "release"
|
|
||||||
shouldUseLaunchSchemeArgsEnv = "NO"
|
|
||||||
savedToolIdentifier = ""
|
|
||||||
useCustomWorkingDirectory = "NO"
|
|
||||||
debugDocumentVersioning = "YES">
|
|
||||||
<BuildableProductRunnable
|
|
||||||
runnableDebuggingMode = "0">
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "54DC6E273C78071F3BA12EF3"
|
|
||||||
BuildableName = "api_iOS.app"
|
|
||||||
BlueprintName = "api_iOS"
|
|
||||||
ReferencedContainer = "container:api.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</BuildableProductRunnable>
|
|
||||||
<CommandLineArguments>
|
|
||||||
</CommandLineArguments>
|
|
||||||
<EnvironmentVariables>
|
|
||||||
<EnvironmentVariable
|
|
||||||
key = "RUST_BACKTRACE"
|
|
||||||
value = "full"
|
|
||||||
isEnabled = "YES">
|
|
||||||
</EnvironmentVariable>
|
|
||||||
<EnvironmentVariable
|
|
||||||
key = "RUST_LOG"
|
|
||||||
value = "info"
|
|
||||||
isEnabled = "YES">
|
|
||||||
</EnvironmentVariable>
|
|
||||||
</EnvironmentVariables>
|
|
||||||
</ProfileAction>
|
|
||||||
<AnalyzeAction
|
|
||||||
buildConfiguration = "debug">
|
|
||||||
</AnalyzeAction>
|
|
||||||
<ArchiveAction
|
|
||||||
buildConfiguration = "release"
|
|
||||||
revealArchiveInOrganizer = "YES">
|
|
||||||
</ArchiveAction>
|
|
||||||
</Scheme>
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>NSCameraUsageDescription</key>
|
|
||||||
<string>Request camera access for barcode scanner</string>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>$(PRODUCT_NAME)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>2.0.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>2.0.0</string>
|
|
||||||
<key>LSRequiresIPhoneOS</key>
|
|
||||||
<true/>
|
|
||||||
<key>UILaunchStoryboardName</key>
|
|
||||||
<string>LaunchScreen</string>
|
|
||||||
<key>UIRequiredDeviceCapabilities</key>
|
|
||||||
<array>
|
|
||||||
<string>arm64</string>
|
|
||||||
<string>metal</string>
|
|
||||||
</array>
|
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
|
||||||
<array>
|
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
||||||
</array>
|
|
||||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
||||||
<array>
|
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
|
||||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict/>
|
|
||||||
</plist>
|
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
name: api
|
|
||||||
options:
|
|
||||||
bundleIdPrefix: com.tauri
|
|
||||||
deploymentTarget:
|
|
||||||
iOS: 13.0
|
|
||||||
fileGroups: [../../src]
|
|
||||||
configs:
|
|
||||||
debug: debug
|
|
||||||
release: release
|
|
||||||
settingGroups:
|
|
||||||
app:
|
|
||||||
base:
|
|
||||||
PRODUCT_NAME: Tauri API
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER: com.tauri.api
|
|
||||||
DEVELOPMENT_TEAM: Q93MBH6S2F
|
|
||||||
targetTemplates:
|
|
||||||
app:
|
|
||||||
type: application
|
|
||||||
sources:
|
|
||||||
- path: Sources
|
|
||||||
scheme:
|
|
||||||
environmentVariables:
|
|
||||||
RUST_BACKTRACE: full
|
|
||||||
RUST_LOG: info
|
|
||||||
settings:
|
|
||||||
groups: [app]
|
|
||||||
targets:
|
|
||||||
api_iOS:
|
|
||||||
type: application
|
|
||||||
platform: iOS
|
|
||||||
sources:
|
|
||||||
- path: Sources
|
|
||||||
- path: Assets.xcassets
|
|
||||||
- path: Externals
|
|
||||||
- path: api_iOS
|
|
||||||
- path: assets
|
|
||||||
buildPhase: resources
|
|
||||||
type: folder
|
|
||||||
info:
|
|
||||||
path: api_iOS/Info.plist
|
|
||||||
properties:
|
|
||||||
LSRequiresIPhoneOS: true
|
|
||||||
UILaunchStoryboardName: LaunchScreen
|
|
||||||
UIRequiredDeviceCapabilities: [arm64, metal]
|
|
||||||
UISupportedInterfaceOrientations:
|
|
||||||
- UIInterfaceOrientationPortrait
|
|
||||||
- UIInterfaceOrientationLandscapeLeft
|
|
||||||
- UIInterfaceOrientationLandscapeRight
|
|
||||||
UISupportedInterfaceOrientations~ipad:
|
|
||||||
- UIInterfaceOrientationPortrait
|
|
||||||
- UIInterfaceOrientationPortraitUpsideDown
|
|
||||||
- UIInterfaceOrientationLandscapeLeft
|
|
||||||
- UIInterfaceOrientationLandscapeRight
|
|
||||||
CFBundleShortVersionString: 2.0.0
|
|
||||||
CFBundleVersion: 2.0.0
|
|
||||||
entitlements:
|
|
||||||
path: api_iOS/api_iOS.entitlements
|
|
||||||
scheme:
|
|
||||||
environmentVariables:
|
|
||||||
RUST_BACKTRACE: full
|
|
||||||
RUST_LOG: info
|
|
||||||
settings:
|
|
||||||
base:
|
|
||||||
ENABLE_BITCODE: false
|
|
||||||
ARCHS: [arm64, arm64-sim]
|
|
||||||
VALID_ARCHS: arm64 arm64-sim
|
|
||||||
LIBRARY_SEARCH_PATHS[arch=x86_64]: $(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
|
|
||||||
LIBRARY_SEARCH_PATHS[arch=arm64]: $(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
|
|
||||||
LIBRARY_SEARCH_PATHS[arch=arm64-sim]: $(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
|
|
||||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: true
|
|
||||||
groups: [app]
|
|
||||||
dependencies:
|
|
||||||
- framework: libapi.a
|
|
||||||
embed: false
|
|
||||||
- sdk: CoreGraphics.framework
|
|
||||||
- sdk: Metal.framework
|
|
||||||
- sdk: MetalKit.framework
|
|
||||||
- sdk: QuartzCore.framework
|
|
||||||
- sdk: Security.framework
|
|
||||||
- sdk: UIKit.framework
|
|
||||||
- sdk: WebKit.framework
|
|
||||||
preBuildScripts:
|
|
||||||
- script: node ../../../node_modules/.bin/../@tauri-apps/cli/tauri.js ios xcode-script -v --platform ${PLATFORM_DISPLAY_NAME:?} --sdk-root ${SDKROOT:?} --framework-search-paths "${FRAMEWORK_SEARCH_PATHS:?}" --header-search-paths "${HEADER_SEARCH_PATHS:?}" --gcc-preprocessor-definitions "${GCC_PREPROCESSOR_DEFINITIONS:-}" --configuration ${CONFIGURATION:?} ${FORCE_COLOR} ${ARCHS:?}
|
|
||||||
name: Build Rust Code
|
|
||||||
basedOnDependencyAnalysis: false
|
|
||||||
outputFiles:
|
|
||||||
- $(SRCROOT)/target/aarch64-apple-ios/${CONFIGURATION}/deps/libapi.a
|
|
||||||
- $(SRCROOT)/target/x86_64-apple-ios/${CONFIGURATION}/deps/libapi.a
|
|
||||||
@@ -2,12 +2,17 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
#![cfg_attr(
|
||||||
|
all(not(debug_assertions), target_os = "windows"),
|
||||||
|
windows_subsystem = "windows"
|
||||||
|
)]
|
||||||
|
|
||||||
mod cmd;
|
mod cmd;
|
||||||
#[cfg(desktop)]
|
#[cfg(desktop)]
|
||||||
mod tray;
|
mod tray;
|
||||||
|
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
use tauri::{window::WindowBuilder, App, AppHandle, Manager, RunEvent, WindowUrl};
|
use tauri::{window::WindowBuilder, App, AppHandle, RunEvent, WindowUrl};
|
||||||
|
|
||||||
#[derive(Clone, Serialize)]
|
#[derive(Clone, Serialize)]
|
||||||
struct Reply {
|
struct Reply {
|
||||||
@@ -26,6 +31,7 @@ pub fn run() {
|
|||||||
.level(log::LevelFilter::Info)
|
.level(log::LevelFilter::Info)
|
||||||
.build(),
|
.build(),
|
||||||
)
|
)
|
||||||
|
.plugin(tauri_plugin_app::init())
|
||||||
.plugin(tauri_plugin_fs::init())
|
.plugin(tauri_plugin_fs::init())
|
||||||
.plugin(tauri_plugin_clipboard_manager::init())
|
.plugin(tauri_plugin_clipboard_manager::init())
|
||||||
.plugin(tauri_plugin_dialog::init())
|
.plugin(tauri_plugin_dialog::init())
|
||||||
@@ -34,6 +40,7 @@ pub fn run() {
|
|||||||
.plugin(tauri_plugin_os::init())
|
.plugin(tauri_plugin_os::init())
|
||||||
.plugin(tauri_plugin_process::init())
|
.plugin(tauri_plugin_process::init())
|
||||||
.plugin(tauri_plugin_shell::init())
|
.plugin(tauri_plugin_shell::init())
|
||||||
|
.plugin(tauri_plugin_window::init())
|
||||||
.setup(move |app| {
|
.setup(move |app| {
|
||||||
#[cfg(desktop)]
|
#[cfg(desktop)]
|
||||||
{
|
{
|
||||||
@@ -44,10 +51,6 @@ pub fn run() {
|
|||||||
app.handle()
|
app.handle()
|
||||||
.plugin(tauri_plugin_updater::Builder::new().build())?;
|
.plugin(tauri_plugin_updater::Builder::new().build())?;
|
||||||
}
|
}
|
||||||
#[cfg(mobile)]
|
|
||||||
{
|
|
||||||
app.handle().plugin(tauri_plugin_barcode_scanner::init())?;
|
|
||||||
}
|
|
||||||
|
|
||||||
let mut window_builder = WindowBuilder::new(app, "main", WindowUrl::default());
|
let mut window_builder = WindowBuilder::new(app, "main", WindowUrl::default());
|
||||||
#[cfg(desktop)]
|
#[cfg(desktop)]
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
api_lib::run();
|
#[cfg(desktop)]
|
||||||
|
api::run();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ pub fn create_tray<R: Runtime>(app: &tauri::AppHandle<R>) -> tauri::Result<()> {
|
|||||||
|
|
||||||
_ => {}
|
_ => {}
|
||||||
})
|
})
|
||||||
.on_tray_icon_event(|tray, event| {
|
.on_tray_event(|tray, event| {
|
||||||
if event.click_type == ClickType::Left {
|
if event.click_type == ClickType::Left {
|
||||||
let app = tray.app_handle();
|
let app = tray.app_handle();
|
||||||
if let Some(window) = app.get_window("main") {
|
if let Some(window) = app.get_window("main") {
|
||||||
|
|||||||