Giter Club home page Giter Club logo

Comments (2)

SMcCandlish avatar SMcCandlish commented on May 26, 2024

If that ends up being too complicated, one approach might be creating a symlink at, say, "%LocalAppData%\Chromium\Chromium (latest)", and replace that each time the updater installs a new version. We could then put a shortcut (with command-line switches, as needed) to the symlink in Programs menu, Task Bar, etc.

While this would not do anything about disk-space usage, keep in mind that a lot of people using this are intentionally keeping more than one version around for testing; this is the very reason that Chromium installs to a version-numbered directory on a per-user basis, instead of just "C:\Program Files\Chromium". That said, I have no opposition to having this controlled in a config file. For my own system, I would actually prefer that latter directory, so it's automatically available for every user on the system without any further twiddling. If I were a Chromium developer, or someone testing builds for later organization-wide deployment, I would definitely not want that centralization, though (but I might still prefer some location other than %LocalAppData%, perhaps keeping the version-numbered subdirectories).

from chrupd.

mkorthof avatar mkorthof commented on May 26, 2024

Currently the script gets the folder from the archive and extracts to e.g. %LocalAppData%\Chromium\Application\<folder_from_archive> then creates a shortcut on the Desktop or replaces it.

If custom arguments are wanted these could be set in $srcExeArgs when creating the shortcut (currently not used)

Function createShortcut ([string]$srcExe, [string]$srcExeArgs, [string]$dstPath) {

$retShortcut = &createShortcut "$lnkTarget" "" "$lnkName"

from chrupd.

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.