Skip to content

Commit 89a6dc6

Browse files
fix(various): various UI and device fixes (#39)
* fix: add Common.Search translation * fix: translations and update phoneIsland to 0.8.26 * feat: improved performance at startup Co-authored-by: Edoardo Spadoni <[email protected]>
1 parent 9bf13ca commit 89a6dc6

File tree

112 files changed

+6121
-3522
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+6121
-3522
lines changed

.vscode/launch.json

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4+
{
5+
"name": "Debug Main Process Prod",
6+
"type": "node",
7+
"request": "launch",
8+
"cwd": "${workspaceRoot}",
9+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
10+
"windows": {
11+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
12+
},
13+
"runtimeArgs": [
14+
"--sourcemap",
15+
"--"
16+
],
17+
"env": {
18+
"REMOTE_DEBUGGING_PORT": "9222",
19+
},
20+
"presentation": {
21+
"hidden": false
22+
}
23+
},
424
{
525
"name": "Debug Main Process",
626
"type": "node",
@@ -10,7 +30,55 @@
1030
"windows": {
1131
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
1232
},
13-
"runtimeArgs": ["--sourcemap", "--", "DEV=true"],
33+
"runtimeArgs": [
34+
"--sourcemap",
35+
"--",
36+
"DEV=true"
37+
],
38+
"env": {
39+
"REMOTE_DEBUGGING_PORT": "9222",
40+
},
41+
"presentation": {
42+
"hidden": false
43+
}
44+
},
45+
{
46+
"name": "Debug Main Process Second",
47+
"type": "node",
48+
"request": "launch",
49+
"cwd": "${workspaceRoot}",
50+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
51+
"windows": {
52+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
53+
},
54+
"runtimeArgs": [
55+
"--sourcemap",
56+
"--",
57+
"DEV=true",
58+
"INSTANCE=1"
59+
],
60+
"env": {
61+
"REMOTE_DEBUGGING_PORT": "9222",
62+
},
63+
"presentation": {
64+
"hidden": false
65+
}
66+
},
67+
{
68+
"name": "Debug Main Process Third",
69+
"type": "node",
70+
"request": "launch",
71+
"cwd": "${workspaceRoot}",
72+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
73+
"windows": {
74+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
75+
},
76+
"runtimeArgs": [
77+
"--sourcemap",
78+
"--",
79+
"DEV=true",
80+
"INSTANCE=2"
81+
],
1482
"env": {
1583
"REMOTE_DEBUGGING_PORT": "9222",
1684
},
@@ -33,10 +101,13 @@
33101
"compounds": [
34102
{
35103
"name": "Debug main and renderer processes",
36-
"configurations": ["Debug Main Process", "Debug Renderer Process"],
104+
"configurations": [
105+
"Debug Main Process",
106+
"Debug Renderer Process"
107+
],
37108
"presentation": {
38109
"order": 1
39110
}
40111
}
41112
]
42-
}
113+
}

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,11 @@ $ npm run publish:minor
4545
# For patch
4646
$ npm run publish:patch
4747
```
48+
49+
### Env variables ONLY FOR TEST PURPOSE
50+
51+
> `DEV=true`\
52+
> run app in DEV mode
53+
54+
> `INSTANCE=<numer_of_the_instance>`\
55+
> enables multiple instances of the process. Use this function with extreme caution, it can cause many problems - for testing purposes only. When this variable is set, a new `user_data_<instance_number>.json` is created and the instance only changes its related file.

0 commit comments

Comments
 (0)