Skip to content

Commit 8bd659e

Browse files
authored
Tauri macOS dev buiild/bundle (#138)
* try do build * fixes * do build * change config
1 parent 73abce0 commit 8bd659e

File tree

3 files changed

+38
-39
lines changed

3 files changed

+38
-39
lines changed

app/tauri.conf.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"productName": "learn-anything",
2+
"productName": "Learn Anything",
33
"version": "0.1.0",
4-
"identifier": "xyz.learn-anything",
4+
"identifier": "xyz.learnanything.desktop",
55
"build": {
6-
"frontendDist": "../out",
6+
"frontendDist": "https://dev.learn-anything.xyz",
77
"devUrl": "http://localhost:3000",
8-
"beforeDevCommand": "bun dev",
9-
"beforeBuildCommand": "bun build"
8+
"beforeDevCommand": "bun dev"
109
},
1110
"app": {
1211
"windows": [
@@ -15,8 +14,7 @@
1514
"width": 800,
1615
"height": 600,
1716
"resizable": true,
18-
"fullscreen": false,
19-
"url": "http://localhost:3000"
17+
"fullscreen": false
2018
}
2119
],
2220
"security": {

bun.lockb

0 Bytes
Binary file not shown.

package.json

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,35 @@
11
{
2-
"name": "learn-anything",
3-
"scripts": {
4-
"dev": "bun web",
5-
"web": "cd web && bun dev",
6-
"web:build": "bun run --filter '*' build",
7-
"cli": "bun run --watch cli/run.ts",
8-
"seed": "bun --watch cli/seed.ts",
9-
"tauri": "tauri"
10-
},
11-
"workspaces": [
12-
"web"
13-
],
14-
"dependencies": {
15-
"@tauri-apps/cli": "^2.0.0-rc.6",
16-
"@tauri-apps/plugin-fs": "^2.0.0-rc.2",
17-
"jazz-nodejs": "^0.7.34",
18-
"react-icons": "^5.3.0"
19-
},
20-
"devDependencies": {
21-
"bun-types": "^1.1.26"
22-
},
23-
"prettier": {
24-
"plugins": [
25-
"prettier-plugin-tailwindcss"
26-
],
27-
"useTabs": true,
28-
"semi": false,
29-
"trailingComma": "none",
30-
"printWidth": 120,
31-
"arrowParens": "avoid"
32-
},
33-
"license": "MIT"
2+
"name": "learn-anything",
3+
"scripts": {
4+
"dev": "bun web",
5+
"web": "cd web && bun dev",
6+
"web:build": "bun run --filter '*' build",
7+
"cli": "bun run --watch cli/run.ts",
8+
"seed": "bun --watch cli/seed.ts",
9+
"tauri": "tauri",
10+
"app:build": "bun tauri build -b dmg -v"
11+
},
12+
"workspaces": [
13+
"web"
14+
],
15+
"dependencies": {
16+
"@tauri-apps/cli": "^2.0.0-rc.6",
17+
"@tauri-apps/plugin-fs": "^2.0.0-rc.2",
18+
"jazz-nodejs": "^0.7.34",
19+
"react-icons": "^5.3.0"
20+
},
21+
"devDependencies": {
22+
"bun-types": "^1.1.26"
23+
},
24+
"prettier": {
25+
"plugins": [
26+
"prettier-plugin-tailwindcss"
27+
],
28+
"useTabs": true,
29+
"semi": false,
30+
"trailingComma": "none",
31+
"printWidth": 120,
32+
"arrowParens": "avoid"
33+
},
34+
"license": "MIT"
3435
}

0 commit comments

Comments
 (0)