Skip to content

Commit 71ea87d

Browse files
authored
Merge pull request #247 from doki-theme/wallpaperFix
Wallpaper fix & Check Sum Fix
2 parents be16fdd + afa1be3 commit 71ea87d

5 files changed

Lines changed: 19 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change Log
22

3+
## 88.5-1.6.3 [Bug Fixes]
4+
5+
- Restored the checksum fixes, so you do not see the "Your Code installation appears to be corrupt" message anymore. Restore your assets, exit VSCode and start it again for this to take effect.
6+
- Fixed wallpaper showing up on sticky lines. Please re-install your wallpaper (or restore assets) for this to take effect.
7+
8+
| Before | After |
9+
| --- | --- |
10+
| ![before](https://github.com/doki-theme/doki-theme-vscode/assets/15972415/8f523c2e-06f2-47aa-b1f6-93de38fed06e) | ![after](https://github.com/doki-theme/doki-theme-vscode/assets/15972415/fcdb89db-90ad-462a-bc53-5d0fa9fb85ff) |
11+
312
## 88.5-1.6.2 [Terminal Wallpaper support]
413

514
- Wallpaper now shows up on the terminal for the `1.83.1` builds. Please re-install your wallpaper for this to take effect.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Doki Theme",
44
"description": "Cute anime character themes!",
55
"publisher": "unthrottled",
6-
"version": "88.1.16",
6+
"version": "88.1.17",
77
"license": "MIT",
88
"icon": "Doki-Theme-v2.png",
99
"galleryBanner": {

src/CheckSumService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const fixCheckSums = (extensionContext: vscode.ExtensionContext) => {
2929
false
3030
);
3131

32+
console.log(checksumChanged, productFile)
3233
if (checksumChanged) {
3334
const json = JSON.stringify(product, null, "\t");
3435
try {
@@ -68,7 +69,7 @@ export const restoreChecksum = () => {
6869
function computeChecksum(file: string) {
6970
const contents = fs.readFileSync(file);
7071
return crypto
71-
.createHash("md5")
72+
.createHash("sha256")
7273
.update(contents)
7374
.digest("base64")
7475
.replace(/=+$/, "");

src/NotificationService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { VSCodeGlobals } from "./VSCodeGlobals";
33
import { attemptToGreetUser } from "./WelcomeService";
44

55
const SAVED_VERSION = "doki.theme.version";
6-
const DOKI_THEME_VERSION = "v88.5-1.6.2";
6+
const DOKI_THEME_VERSION = "v88.5-1.6.3";
77

88
export function attemptToNotifyUpdates(context: vscode.ExtensionContext) {
99
const savedVersion = VSCodeGlobals.globalState.get(SAVED_VERSION);

src/StickerService.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ function buildWallpaperCss({
6161
.pane-header,
6262
.minimap-decorations-layer,
6363
.xterm-cursor-layer,
64+
.monaco-breadcrumbs,
65+
/* sticky lines */
66+
.monaco-editor .sticky-line-content,
67+
.monaco-editor .sticky-line-number,
68+
.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row.monaco-list-row,
69+
/* end sticky lines */
6470
.decorationsOverviewRuler,
6571
.monaco-workbench .part.editor>.content .editor-group-container>.title .tabs-breadcrumbs .breadcrumbs-control,
6672
.ref-tree, /* find usages */

0 commit comments

Comments
 (0)