Update build config

This commit is contained in:
NGnius (Graham) 2022-07-28 17:00:42 -04:00
parent 4066f4e8ce
commit 7cc91b2c0b
4 changed files with 11 additions and 9 deletions

1
.gitignore vendored
View file

@ -42,6 +42,7 @@ yalc.lock
# ignore Rust compiler files
/backend-rs/target
backend
/bin/backend
# packaged teasers
*.zip

View file

@ -1,4 +1,5 @@
#!/bin/bash
cross build --release
cp ./target/release/fantastic-rs ../backend
mkdir ../bin
cp ./target/release/fantastic-rs ../bin/backend

View file

@ -25,6 +25,6 @@ class Plugin:
# Asyncio-compatible long-running code, executed in a task when the plugin is loaded
async def _main(self):
# startup
self.backend_proc = subprocess.Popen([PARENT_DIR + "/backend"])
self.backend_proc = subprocess.Popen([PARENT_DIR + "/bin/backend"])
while True:
await asyncio.sleep(1)

View file

@ -1,6 +1,6 @@
{
"name": "decky-plugin-template",
"version": "0.0.1",
"name": "Fantastic",
"version": "0.3.1",
"description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack",
"scripts": {
"build": "shx rm -rf dist && rollup -c",
@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/SteamDeckHomebrew/decky-plugin-template.git"
"url": "git+https://github.com/NGnius/Fantastic.git"
},
"keywords": [
"decky",
@ -19,12 +19,12 @@
"steam-deck",
"deck"
],
"author": "Jonas Dellinger <jonas@dellinger.dev>",
"license": "GPL-2.0-or-later",
"author": "NGnius <ngniusness@gmail.com>",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/SteamDeckHomebrew/decky-plugin-template/issues"
"url": "https://github.com/NGnius/Fantastic/issues"
},
"homepage": "https://github.com/SteamDeckHomebrew/decky-plugin-template#readme",
"homepage": "https://github.com/NGnius/Fantastic#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-json": "^4.1.0",