Skip to content

Commit

Permalink
Auto Asset Restoration. (#110)
Browse files Browse the repository at this point in the history
* First pass asset restoration

* Fixed sum bugs

* Updated welcome page

* Words are hard
  • Loading branch information
Unthrottled authored Aug 28, 2021
1 parent 56b3464 commit 21ba0bc
Show file tree
Hide file tree
Showing 9 changed files with 296 additions and 53 deletions.
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,11 @@
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
"typescript.tsc.autoDetect": "off",
"cSpell.words": [
"accum",
"doki",
"unthrottled",
"waifu"
]
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

# 15.3.0 [Auto Restoration]

- Added the **Restore Assets** action that allows you to quickly re-install assets after a VSCode update. Plugin will attempt to restore assets on first detection of VSCode update.
- Enhanced the wallpaper in the Welcome Screen.

# 15.2.0 [Hide Watermark]

- Added the **Hide VSCode Watermark** command that...well... hides the VS Code watermark that shows when all editor tabs are closed.
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ You can choose themes from various, Anime, Manga, or Visual Novels:
- [Hide VSCode Watermark](#hide-watermark)
- [Stickers](#sticker)
- [Custom Assets](#custom-assets)
- [Asset Restoration](#asset-restoration)
- [Suggestive Content](#suggestive-content)
- [Asset Removal](#remove-assets)
- [Show Changelog](#show-changelog)
Expand Down Expand Up @@ -148,6 +149,12 @@ Value to be used for css 'background-position' for both the background & wallpap
"doki.background.anchor": "center",
```

## Asset Restoration

Unfortunately, every time VSCode updates, you will lose your installed asset changes.
Thankfully, this plugin will remember what assets you installed, and attempt to restore them on the first detection of a VSCode update.

If the restoration does not work the first time, you can fix the issue then run the **Restore Assets** command to quickly get you back to coding!

## Suggestive Content

Expand Down
79 changes: 42 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "The Doki Theme",
"description": "A bunch of themes with cute anime girls. Code with your waifu!",
"publisher": "unthrottled",
"version": "15.2.0",
"version": "15.3.0",
"license": "MIT",
"icon": "Doki-Theme.png",
"galleryBanner": {
Expand Down Expand Up @@ -31,6 +31,7 @@
"activationEvents": [
"onStartupFinished",
"onCommand:doki-theme.doki.changelog",
"onCommand:doki-theme.restore.assets",
"onCommand:doki-theme.remove.sticker",
"onCommand:doki-theme.remove.watermark",
"onCommand:doki-theme.theme.Maika",
Expand Down Expand Up @@ -222,6 +223,10 @@
"command": "doki-theme.remove.sticker",
"title": "Doki-Theme: Remove Sticker/Background"
},
{
"command": "doki-theme.restore.assets",
"title": "Doki-Theme: Restore Assets"
},
{
"command": "doki-theme.remove.watermark",
"title": "Doki-Theme: Hide VSCode Watermark"
Expand Down Expand Up @@ -840,22 +845,16 @@
"path": "./generatedThemes/Maika.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "0527c6fc-316a-4f80-9459-d92ced0e6492",
"label": "Doki Theme: BunnySenpai: Mai",
"path": "./generatedThemes/Mai Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "98878c8e-9f91-4e25-930d-dd7d280d9e35",
"label": "Doki Theme: BunnySenpai: Mai",
"path": "./generatedThemes/Mai Light.theme.json",
"uiTheme": "vs"
},
{
"id": "dce48196-ff46-470c-b5f9-d1e23f4a79d3",
"label": "Doki Theme: DDLC: Monika",
"path": "./generatedThemes/Monika Dark.theme.json",
"id": "0527c6fc-316a-4f80-9459-d92ced0e6492",
"label": "Doki Theme: BunnySenpai: Mai",
"path": "./generatedThemes/Mai Dark.theme.json",
"uiTheme": "vs-dark"
},
{
Expand All @@ -865,9 +864,9 @@
"uiTheme": "vs"
},
{
"id": "a7e0aa28-739a-4671-80ae-3980997e6b71",
"label": "Doki Theme: DDLC: Natsuki",
"path": "./generatedThemes/Natsuki Dark.theme.json",
"id": "dce48196-ff46-470c-b5f9-d1e23f4a79d3",
"label": "Doki Theme: DDLC: Monika",
"path": "./generatedThemes/Monika Dark.theme.json",
"uiTheme": "vs-dark"
},
{
Expand All @@ -876,6 +875,12 @@
"path": "./generatedThemes/Natsuki Light.theme.json",
"uiTheme": "vs"
},
{
"id": "a7e0aa28-739a-4671-80ae-3980997e6b71",
"label": "Doki Theme: DDLC: Natsuki",
"path": "./generatedThemes/Natsuki Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "cb8ef4b7-0844-4a04-b08b-754086598de4",
"label": "Doki Theme: DDLC: Sayori",
Expand Down Expand Up @@ -954,18 +959,18 @@
"path": "./generatedThemes/Rei.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "8c99ec4b-fda0-4ab7-95ad-a6bf80c3924b",
"label": "Doki Theme: Franxx: Zero Two",
"path": "./generatedThemes/Zero Two Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "4fd5cb34-d36e-4a3c-8639-052b19b26ba1",
"label": "Doki Theme: Franxx: Zero Two",
"path": "./generatedThemes/Zero Two Light.theme.json",
"uiTheme": "vs"
},
{
"id": "8c99ec4b-fda0-4ab7-95ad-a6bf80c3924b",
"label": "Doki Theme: Franxx: Zero Two",
"path": "./generatedThemes/Zero Two Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "5ec63d95-1e7d-4649-b3d0-0078af8f8740",
"label": "Doki Theme: FutureDiary: Yuno",
Expand Down Expand Up @@ -1002,18 +1007,18 @@
"path": "./generatedThemes/Aqua.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "774ec7ad-d6a0-4d9c-b195-2f54d72ab664",
"label": "Doki Theme: KonoSuba: Darkness",
"path": "./generatedThemes/Darkness Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "8474d98d-7bb1-462c-82b1-dd7c512142a6",
"label": "Doki Theme: KonoSuba: Darkness",
"path": "./generatedThemes/Darkness Light.theme.json",
"uiTheme": "vs"
},
{
"id": "774ec7ad-d6a0-4d9c-b195-2f54d72ab664",
"label": "Doki Theme: KonoSuba: Darkness",
"path": "./generatedThemes/Darkness Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "63fe4617-4cac-47a5-9b93-6794514c35ad",
"label": "Doki Theme: KonoSuba: Megumin",
Expand Down Expand Up @@ -1068,18 +1073,18 @@
"path": "./generatedThemes/Coconut.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "13407818-da66-432b-94e3-fd2192e98118",
"label": "Doki Theme: NekoPara: Maple",
"path": "./generatedThemes/Maple Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "ea7a8b00-2d86-4e06-81a2-5c14a46264d5",
"label": "Doki Theme: NekoPara: Maple",
"path": "./generatedThemes/Maple Light.theme.json",
"uiTheme": "vs"
},
{
"id": "13407818-da66-432b-94e3-fd2192e98118",
"label": "Doki Theme: NekoPara: Maple",
"path": "./generatedThemes/Maple Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "31d5574d-f56b-408f-81dc-9d44feeb62c2",
"label": "Doki Theme: NekoPara: Vanilla",
Expand Down Expand Up @@ -1116,18 +1121,18 @@
"path": "./generatedThemes/Echidna.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "696de7c1-3a8e-4445-83ee-3eb7e9dca47f",
"label": "Doki Theme: Re:Zero: Emilia",
"path": "./generatedThemes/Emilia Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "e828aaae-aa8c-4084-8993-d64697146930",
"label": "Doki Theme: Re:Zero: Emilia",
"path": "./generatedThemes/Emilia Light.theme.json",
"uiTheme": "vs"
},
{
"id": "696de7c1-3a8e-4445-83ee-3eb7e9dca47f",
"label": "Doki Theme: Re:Zero: Emilia",
"path": "./generatedThemes/Emilia Dark.theme.json",
"uiTheme": "vs-dark"
},
{
"id": "ecb74f1c-8c84-40c4-916f-601039ba2af0",
"label": "Doki Theme: Re:Zero: Ram",
Expand Down
Loading

0 comments on commit 21ba0bc

Please sign in to comment.