2020-05-01ãã1ã¶æéã®è¨äºä¸è¦§
electron-pack ã§æ±ããã¦ã .asar ã®ãã«ãããã¡ã¤ã«åä½ã§ã±ã±ã£ã¨ç¢ºèªã§ããããã«ããããªã£ãã¨ãç¨ã®ã¡ã¢ã§ããnpx asar l something.asar ã«ãã¤ããã¦ã«ããã«ããCLIã§å©ãã°æã£åãæ©ãã¿ã¤ãã®ç¨éã¨ã¯å¥ã«ãGUIã®ãã¡ã¤ã«ã¨ã¯ã¹ããã¼ã©ã¼ã§ã«â¦
ç¶æ³ Electron ã¢ããªãä½ã£ã¦ãã¾ãã yarn/npm 㧠client-side åãã® library X (ä»®) ã追å ãã¦ãã¾ãã X ã¯éçºç°å¢ã§ã¯ yarn/npm ã«ãã node_modules/X ãã£ã¬ã¯ããªã¼ã«åãè¾¼ã¾ãã¦ãã¾ãã Electron ã¢ããªã® client-side ã® static ãªãã¡ã¤ã«è³â¦
https://github.com/microsoft/winget-cli ; winget https://github.com/microsoft/winget-pkgs ; Community repo https://github.com/microsoft/winget-pkgs/tree/master/manifests ; ãã®è¾ºããçºãã㨠winget ãå ¥ããªãã¦ã対å¿ããã±ã¼ã¸ãè¦ãã¾ã wiâ¦
GitHub - sindresorhus/electron-store: Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc ã使ãã¡ã¢ã§ãã yarn add electron-store electron-store = æ§ electron-conf public/conf.jsâ¦
æºå: yarn add electron-localshortcut; https://www.npmjs.com/package/electron-localshortcut å®è£ ä¾(public/electron.js): const electron = require("electron"); const app = electron.app; const browser_window = electron.BrowserWindow; const loâ¦
åºæ¬çãªä½¿ç¨ã®æµã yarn add i18next i18next-node-fs-backend public/i18n.js ãªã©é©å½ã«ä½ã l10n æååãåãåºãããã½ã¼ã¹ã§ const i18n = require('./i18n.js') ãã¦ å¿ è¦ãªã await i18n.changeLanguage('ja-JP') ã®ããã« l10n å ãå®è¡æã«è¨å®ãâ¦
Inkscape-1.0 ã§ã¯ Theme æ©è½ãå®è£ ãããã®ã§ã Edit -> Preferences -> Interface -> Theme ãè¨å®ããã¨ãã¼ã¯ã¢ã¼ãã«åªãããã¼ãã³ã°ãã§ããããã«ãªãã¾ãããå¬ããã§ããããããéã®ä¸çã«ä½ãç§ãã¡ã®ç®ã«Inkscapeã®ç»é¢ã§æãç©ããã¦å°ãé¨åâ¦