added starship
This commit is contained in:
parent
bae12c442c
commit
f4f1c5bba7
15 changed files with 553 additions and 71 deletions
21
modules/styling/config/config.js
Normal file
21
modules/styling/config/config.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
const main = "/tmp/ags/main.js";
|
||||
|
||||
try {
|
||||
await Utils.execAsync([
|
||||
"bun",
|
||||
"build",
|
||||
`${App.configDir}/main.ts`,
|
||||
"--outfile",
|
||||
main,
|
||||
"--external",
|
||||
"resource://*",
|
||||
"--external",
|
||||
"gi://*",
|
||||
"--external",
|
||||
"file://*",
|
||||
]);
|
||||
await import(`file://${main}`);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
App.quit();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue