Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

213
Views
How to get windows app directory in React JS

How to get windows app directory in React JS I am getting relative path here, I would like to get absolute path so in further processing

  var os = require('os');
  var home = os.userdir();

also tried to use

import getAppDataPath from "appdata-path";
console.log(getAppDataPath());

also

let localAppData = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/Preferences' : process.env.HOME + "/.local/share");

like to have path like this, %temp% / %appdir%

C:\Users<user>\AppData\Local OR C:\Users<user> \AppData\Local\Temp

I am getting /.config /tmp

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!