diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 48eff4a..cc74924 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -52,9 +52,9 @@ jobs: console.log('created release', { release }); for (let file of await fs.readdir('./')) { - console.log('uploading', file); if (file.endsWith('.mstx') || file.endsWith('.json')) { + console.log('uploading', file); await github.repos.uploadReleaseAsset({ owner, repo, release_id: release.data.id, diff --git a/gen-manifest.py b/gen-manifest.py index 5b2d2ed..d1609ba 100644 --- a/gen-manifest.py +++ b/gen-manifest.py @@ -20,7 +20,8 @@ def consolidate_manifest(): # Extract and parse config.json with zip_ref.open('config.json') as config_file: config_data = json.load(config_file) - del config_data["customCSS"] + if 'customCSS' in config_data['theme']: + del config_data["theme"]["customCSS"] # Extract the id and use the entire config.json as value if 'id' in config_data: diff --git a/manifest.json b/manifest.json index ba4028c..f5dece0 100644 --- a/manifest.json +++ b/manifest.json @@ -11,8 +11,7 @@ "textSecondary": "#565656", "textInverse": "#000000", "accent": "#65CB88", - "divider": "rgba(79, 79, 79, 0.67)", - "customCSS": "/tmp/theme-unpacked-2ce9ae53-1591-4d87-925e-b45f0adf8a64/custom.css" + "divider": "rgba(79, 79, 79, 0.67)" } } } \ No newline at end of file