electron / electron/windows-installer

Don't know how copy file to userData during app's installation

Open
#262 1 comment 10 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
267
Avg merge
5h 38m
Merged PRs (30d)
1

Description

How to copy (during app instal) a given file from project's root folder to the path, so that I can access it in my javascript like:

let path = electron.app.getPath('userData') + 'settings.json'

Is there an instruction we need to place in 'build' section of package.json of app's project ?
NOTE: I'm using electron-builder to build the executable for app I want to install in Windows.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.