Skip to content

Commit

Permalink
Change log color; add emoji to description; add thumb
Browse files Browse the repository at this point in the history
  • Loading branch information
PRO-2684 committed Apr 5, 2024
1 parent 8b949e7 commit fa2214d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion icons/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/thumb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { BrowserWindow, ipcMain, webContents, shell } = require("electron");
const isDebug = process.argv.includes("--scriptio-debug");
const updateInterval = 1000;
const ignoredFolders = new Set(["node_modules", ".git", ".vscode", ".idea", ".github"]);
const log = isDebug ? console.log.bind(console, "\x1b[32m%s\x1b[0m", "[Scriptio]") : () => { };
const log = isDebug ? console.log.bind(console, "\x1b[38;2;0;72;91m%s\x1b[0m", "[Scriptio]") : () => { };
let devMode = false;
let watcher = null;

Expand Down
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"type": "extension",
"name": "Scriptio",
"slug": "scriptio",
"description": "自定义渲染层 JavaScript 脚本加载器",
"description": "📄 自定义渲染层 JavaScript 脚本加载器",
"version": "1.2.2",
"icon": "./icons/icon.svg",
"thumb": "./icons/thumb.svg",
"authors": [
{
"name": "PRO-2684",
Expand Down

0 comments on commit fa2214d

Please sign in to comment.