Giter Club home page Giter Club logo

ptkdev-boilerplate / svelte-electron-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
126.0 8.0 12.0 2.22 MB

🧬 Create a desktop app with this user-friendly Svelte boilerplate for electron

Home Page: https://npmjs.com/package/@ptkdev/svelte-electron-boilerplate

License: Other

Shell 1.24% SCSS 8.28% Svelte 16.95% TypeScript 55.14% Smarty 1.28% HTML 1.71% JavaScript 15.39%
electron-app electronjs electron-svelte svelte-desktop desktop-app svelte-electron webapp electron-boilerplate svelte-boilerplate typescript

svelte-electron-boilerplate's People

Contributors

ptkdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

svelte-electron-boilerplate's Issues

Renderer process does not get called

Versions

  • App Version: v1.0.0
  • Node Version: v16.13.2
  • Operating System: Windows 10
  • Browser: Google Chrome v109

Expected Behavior

I just put a console.log in the renderer.ts file, and nothing gets logged, from what I understood, it's supposed to get called by public/index.html. I ran it with npm run dev and npm run dev:electron in the electron window

I also tried to call process.exit(0); , didn't do anything.

The preload script gets called. Didn't touched any files Im not "supposed"to.

[Bug] Development on MS Windows

Versions

  • App Version: any
  • Node Version: v14.15.3
  • Operating System: Windows 10x64
  • Browser: irrelevant

Expected Behavior

Running tsnode + debug and starting dev mode for TS.
Erasing files would be done within node, since windows would ned to run del -f/del /f instead

Actual Behavior

script run uses rm as way to delete rollup and dist previous files.
But an error saying rm is not a command will be thrown (powershell uses rm as alias for del, but even running everything from Powershell 7 doesn't make this error go away)

Steps to Reproduce

  1. Be on windows (pref: Powerhsell)
  2. Run yarn run dev or npm run dev
  3. Notice issue

Allow nodeJS process variable

Feature description

If there's a way to get node process please add.

Feature motivation

I'm currently trying to use the process variable to get the user's user path; process.env[process.platform === 'win32' ? 'USERPROFILE' : 'HOME'] but I keep getting a reference error. this should allow for better use cases like saving local data for a user in json or SQLite database.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.