From 771520dcbdafbd28dd99e03979270936fff03e8f Mon Sep 17 00:00:00 2001 From: Artemy Date: Mon, 19 Jun 2023 18:48:01 +0300 Subject: [PATCH] doc: licenses --- .gitignore | 1 + electron.vite.config.js | 15 +++++++++++++++ src/main/index.js | 15 +++++++++++++++ src/preload/index.js | 15 +++++++++++++++ src/renderer/index.html | 21 +++++++++++++++++++-- src/renderer/src/App.jsx | 15 +++++++++++++++ src/renderer/src/main.jsx | 15 +++++++++++++++ src/renderer/src/pages/Main.jsx | 15 +++++++++++++++ tailwind.config.js | 15 +++++++++++++++ 9 files changed, 125 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 20b0c92..efd3369 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Logs logs *.log +*.log* npm-debug.log* yarn-debug.log* yarn-error.log* diff --git a/electron.vite.config.js b/electron.vite.config.js index bf6c127..2edac33 100644 --- a/electron.vite.config.js +++ b/electron.vite.config.js @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + import { resolve } from 'path' import { defineConfig, externalizeDepsPlugin } from 'electron-vite' import react from '@vitejs/plugin-react' diff --git a/src/main/index.js b/src/main/index.js index ee7c0a5..162ff0c 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + import { app, shell, BrowserWindow } from 'electron' import { join } from 'path' import { electronApp, optimizer, is } from '@electron-toolkit/utils' diff --git a/src/preload/index.js b/src/preload/index.js index 8d62cb9..3fd54b1 100644 --- a/src/preload/index.js +++ b/src/preload/index.js @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + import { contextBridge } from 'electron' import { electronAPI } from '@electron-toolkit/preload' diff --git a/src/renderer/index.html b/src/renderer/index.html index a117e82..1993c17 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -1,10 +1,27 @@ + + + - Electron - + PiMi launcher diff --git a/src/renderer/src/App.jsx b/src/renderer/src/App.jsx index 6e4e86b..1451b22 100644 --- a/src/renderer/src/App.jsx +++ b/src/renderer/src/App.jsx @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + import { HashRouter, Route, Routes } from 'react-router-dom' import Main from './pages/Main' function App() { diff --git a/src/renderer/src/main.jsx b/src/renderer/src/main.jsx index 0b9855b..d7c17fe 100644 --- a/src/renderer/src/main.jsx +++ b/src/renderer/src/main.jsx @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + import React from 'react' import ReactDOM from 'react-dom/client' import './assets/index.css' diff --git a/src/renderer/src/pages/Main.jsx b/src/renderer/src/pages/Main.jsx index 7a1ee45..b0c431b 100644 --- a/src/renderer/src/pages/Main.jsx +++ b/src/renderer/src/pages/Main.jsx @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + import { useState } from 'react' import { utils } from 'pimi-launcher-core' function Main() { diff --git a/tailwind.config.js b/tailwind.config.js index 5ec1e2a..f901b85 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,18 @@ +// Copyright (c) 2023 artegoser (Artemy Egorov) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + /** @type {import('tailwindcss').Config} */ module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx}'],