GithubHelp home page GithubHelp logo

Comments (6)

genotrance avatar genotrance commented on September 18, 2024

So --install only runs Px at startup, it doesn't do anything with the config. You would need to do any configuration with a config file or use --save to generate one with the command line. I'll make this more clear in the documentation.

from px.

DrVanScott avatar DrVanScott commented on September 18, 2024

And where does Px expect the configuration? User home? Folder containing px.exe?

from px.

genotrance avatar genotrance commented on September 18, 2024

Px looks for px.ini at the same folder as the executable. When you use --save, it saves the config in this same location.

You can change the config file location with --config but if you run --install, it expects that default location.

from px.

genotrance avatar genotrance commented on September 18, 2024

This has been updated in the README.

from px.

DrVanScott avatar DrVanScott commented on September 18, 2024

Your commit defenitly helped , but unfortunately I am still not clear about that:

  • I have installed px in C:\Program Files\px\
  • open cmd
  • cd "C:\Program Files\px"
  • px --proxy=someproxy --save
  • PX is telling me, that it has

Saved config to C:\Program Files\px\px.ini

  • But there is no such file in that folder. Instead of this, it created/updated a file in %APP_DATA%\Local\VirtualStore\Program Files\px\px.ini

I also used "--install" to register automatic startup of px. As i cannot find any persistened config elsewhere on my system, i assume the automatically started instance of px is also using the file %APP_DATA%\Local\VirtualStore\Program Files\px\px.ini ?

from px.

genotrance avatar genotrance commented on September 18, 2024

This is most interesting and first I'm hearing of it. Turns out this is a feature introduced by Microsoft back in Vista.

https://docs.microsoft.com/en-us/previous-versions/technet-magazine/cc138019(v=msdn.10)

Basically, all files are created in your profile account since the process is running as a standard user.

from px.

Related Issues (20)

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.