Skip to content

Commit

Permalink
Merge pull request #1 from JonYeb/persistance
Browse files Browse the repository at this point in the history
Persistance
  • Loading branch information
JonYeb authored Oct 3, 2024
2 parents 3dc1f3b + d1bd301 commit 742c3ce
Show file tree
Hide file tree
Showing 22 changed files with 622 additions and 44 deletions.
4 changes: 4 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ENCRYPTION_KEY=SOME_STRING
NAME=CONFIG_NAME
CLIENT_API_KEY=API_KEY
USER_AGENT=''
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/electron",
"plugin:import/typescript"
"plugin:import/typescript",
"prettier"
],
"parser": "@typescript-eslint/parser"
}
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore artifacts:
build
coverage

# Ignore all HTML files:
**/*.html
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"trailingComma": "es5",
"singleQuote": true,
"parser": "typescript",
"overrides": [
{
"files": "*.json",
"options": {
"parser": "json"
}
}
]
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![audit](https://github.com/JonYeb/VRCASS/actions/workflows/codeql.yml/badge.svg)
# VRC Avatar Saver and Switcher

## About
Expand Down
10 changes: 9 additions & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@ const config: ForgeConfig = {
asar: true,
},
rebuildConfig: {},
makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})],
makers: [
new MakerSquirrel({}),
new MakerZIP({}, ['darwin']),
new MakerRpm({}),
new MakerDeb({}),
],
plugins: [
new AutoUnpackNativesPlugin({}),
new WebpackPlugin({
mainConfig,
//@todo remove maybe
devContentSecurityPolicy:
"default-src * self blob: data: gap:; style-src * self 'unsafe-inline' blob: data: gap:; script-src * 'self' 'unsafe-eval' 'unsafe-inline' blob: data: gap:; object-src * 'self' blob: data: gap:; img-src * self 'unsafe-inline' blob: data: gap:; connect-src self * 'unsafe-inline' blob: data: gap:; frame-src * self blob: data: gap:;",
renderer: {
config: rendererConfig,
entryPoints: [
Expand Down
Loading

0 comments on commit 742c3ce

Please sign in to comment.