Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 
choje 5b81fff793 initial commit 9 месяцев назад
scripts initial commit 9 месяцев назад
src initial commit 9 месяцев назад
.gitignore initial commit 9 месяцев назад
README.md initial commit 9 месяцев назад
electron-builder.json initial commit 9 месяцев назад
package-lock.json initial commit 9 месяцев назад
package.json initial commit 9 месяцев назад
postcss.config.js initial commit 9 месяцев назад
tailwind.config.js initial commit 9 месяцев назад
vite.config.js initial commit 9 месяцев назад

README.md

Karadhoc - Kôtelettes App

Getting started

Install dependencies

npm install

Start developing ⚒️

npm run dev

Additional Commands

npm run dev # starts application with hot reload
npm run build # builds application, distributable files can be found in "dist" folder

# OR

npm run build:win # uses windows as build target
npm run build:mac # uses mac as build target
npm run build:linux # uses linux as build target

Optional configuration options can be found in the Electron Builder CLI docs.

Project Structure

- scripts/ # all the scripts used to build or serve your application, change as you like.
- src/
  - main/ # Main thread (Electron application source)
  - renderer/ # Renderer thread (VueJS application source)

Using static files

If you have any files that you want to copy over to the app directory after installation, you will need to add those files in your src/main/static directory.

Referencing static files from your main process

/* Assumes src/main/static/myFile.txt exists */

import {app} from 'electron';
import {join} from 'path';
import {readFileSync} from 'fs';

const path = join(app.getAppPath(), 'static', 'myFile.txt');
const buffer = readFileSync(path);