OSDN Git Service

GitHub Copilotのpackage.json自動補完
authorNeko7sora <75793267+Neko7sora@users.noreply.github.com>
Mon, 19 Jul 2021 05:46:26 +0000 (14:46 +0900)
committerNeko7sora <75793267+Neko7sora@users.noreply.github.com>
Mon, 19 Jul 2021 05:46:26 +0000 (14:46 +0900)
.editorconfig [new file with mode: 0644]
.gitlab/.gitkeep [new file with mode: 0644]
README.md
screenshot/.gitkeep [new file with mode: 0644]
src/README.md
src/main.js
src/package.json

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..d04f1fb
--- /dev/null
@@ -0,0 +1,12 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+end_of_line = crlf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
\ No newline at end of file
diff --git a/.gitlab/.gitkeep b/.gitlab/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
index b010bc1..c0590bb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ W3C HTML5の規格は2021年1月に廃止されています。
 現在、見るべき標準規格は WHATWG HTML Living Standardです。
 
 ## 環境・使用ライブラリー
-- Node.js v14.16.x ~ v14.x
+- Node.js v14.17.x ~ v14.x
 - yarn v1.22.x ~ v1.x
 - Electron v13.x ~ v..
 
@@ -28,6 +28,8 @@ W3C HTML5の規格は2021年1月に廃止されています。
 
     なるべくだから100%ではなくてもいいよ!!
 
+    (だいたい同じGUIにしたり、(ry)
+
 
 
 2. マイクラのMODみたいに、
@@ -42,11 +44,19 @@ W3C HTML5の規格は2021年1月に廃止されています。
 
 
 ## 開発者へ
-えーと(ry
+プラグイン機能があるので、実行時に隔離や制限をしないと、セキュリティ的に問題があるのでフレームワークを作成したりSモード(Secureモード: 安全が確認されているコードのみ実行)というものを作成しています。
+
+また、ソフトウェアにデジタル署名して、コードサイニング証明書されたソフトウェアはMicrosoft Storeに配布を予定しています。
+
+コードサイニング証明書は、ソフトウェアにデジタル署名を行う電子署名用の証明書です。 ソフトウェアの配布元を認証し、なりすましや内容の改ざんなどがされていないことを保証し、ユーザの手元に責任をもってソフトウェアを届けることができます。
 
 ### 基本的にいじらなくても良いファイル(このファイルについて詳しく知らない人は変にいじらない方がいいよ!
  - renovate.json
  - .gitignore
- - .LICENSE
  - yarn.lock
- - 
+ - CHANGELOG.md
+ - CODE_OF_CONDUCT.md
+ - CONTRIBUTING.md
+ - LICENSE
+ - SECURITY.md
+ - .editorconfig
diff --git a/screenshot/.gitkeep b/screenshot/.gitkeep
new file mode 100644 (file)
index 0000000..e69de29
index ea9b61e..52d6ca6 100644 (file)
@@ -1,9 +1,3 @@
 # ./src
 
 (ry
-
-
-
-
-
-
index dd2a294..0dbccf2 100644 (file)
@@ -5,6 +5,7 @@ const fs = require('fs');
 app.setName("CommentGenerator-Electron")
 let window
 
+
 // 実行環境がmacOSならtrue
 const isMac = (process.platform === 'darwin');  // 'darwin' === macOS
 
@@ -15,7 +16,7 @@ const aboutPanel = function(){
   dialog.showMessageBox({
     title: `${app.name}について`,
     message: `${app.name} ${app.getVersion()}`,
-    detail: `Created by Neko7sora\n©‌​‌‌​​​‌‌​​‌‌​‌​ ‌​​‌​‌​​‌​​‌​​​​2‌‌​​‌​​​‌​​​‌‌​​0‌​​‌​​​​‌​​​‌‌​‌2​‌‌‌‌​‌‌​‌‌‌‌‌​‌‌‌​‌‌‌​​‌​‌‌1 CommentGenerator-Re`,
+    detail: `Created by Neko7sora\n©‌​‌‌​​​‌‌​​‌‌​‌​ ‌​​‌​‌​​‌​​‌​​​​2‌‌​​‌​​​‌​​​‌‌​​0‌​​‌​​​​‌​​​‌‌​‌2​‌‌‌‌​‌‌​‌‌‌‌‌​‌‌‌​‌‌‌​​‌​‌‌1 ${app.name}`,//特殊文字に注意
     buttons: [],
     //icon: resolve(__dirname, 'asset/image/icon.png')
   });
@@ -177,7 +178,7 @@ app.whenReady().then(() => {/*
               setTimeout(() => {
                 window.setProgressBar(1)
                 setTimeout(() => {
-                  window.setProgressBar(-1)
+                  window.setProgressBar(-1)//win11では動作しない
                   setTimeout(() => {
                     window.setProgressBar(2)
                   }, 2000)
@@ -189,7 +190,7 @@ app.whenReady().then(() => {/*
       }, 2000)
     }, 2000)
   }, 2000)
-*/
+//*/
   // このリスナーは、アプリケーションが起動した後に動きます。
   app.on('activate', () => {
 
index 822bf63..5b2f033 100644 (file)
@@ -2,17 +2,39 @@
   "name": "commentgenerator-electron",
   "version": "0.1.0-alpha",
   "author": "Neko7sora",
-  "description": "My Electron app",
+  "readme": "README.md",
+  "license": "LICENSE.md",
+  "description": "コメントジェネレーターElectron",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/CommentGeneratorCollection/CommentGenerator-Electron.git",
+    "mirror": {
+    "gitlab-url": "https://gitlab.com/CommentGeneratorCollection/CommentGenerator-Electron.git",
+    "osdn-url": "http://scm.osdn.net/gitroot/commentgenerator-electron/CommentGenerator-Electron.git"
+    }
+ },
+  "bugs": {
+    "url": "https://github.com/CommentGeneratorCollection/CommentGenerator-Electron/issues"
+  },
+  "homepage": "https://github.com/CommentGeneratorCollection/CommentGenerator-Electron",
+  "keywords": [
+    "CommentGenerator",
+    "Electron",
+    "CommentGenerator-Electron"
+  ],
+  "languages": [
+    "ja"
+  ],
   "main": "main.js",
   "scripts": {
     "start": "electron ./main.js"
   },
   "engines": {
-    "node": ">=14.16.0"
+    "node": ">=14.17.3"
   },
   "dependencies": {
   },
   "devDependencies": {
-    "electron": "13.1.7"
+    "electron": "13.1.6"
   }
 }