Skip to content

The package for convenient execution saves user data in the current directory and creates a shortcut. #289

Open
@eonun

Description

@eonun

Rename the file ungoogled-chromium_* to bin,And create a new user_data directory.

Create a new run.bat script, type in the following content.

:: by runningcheese
@echo off
@ECHO OFF&(PUSHD "%~DP0")&(REG QUERY "HKU\S-1-5-19">NUL 2>&1)||(
powershell -Command "Start-Process '%~sdpnx0' -Verb RunAs"&&EXIT)

echo set WshShell = WScript.CreateObject("WScript.Shell")>tmp.vbs
echo set oShellLink = WshShell.CreateShortcut("%~dp0" ^& "\chrome.lnk")>>tmp.vbs
echo oShellLink.TargetPath ="%~dp0\bin\chrome.exe">>tmp.vbs
echo oShellLink.Arguments ="--user-data-dir=%~dp0\user_data --allow-outdated-plugins --disable-logging --disable-breakpad">>tmp.vbs
echo oShellLink.WindowStyle ="1">>tmp.vbs
echo oShellLink.IconLocation = "%~dp0\bin\chrome.exe">>tmp.vbs
echo oShellLink.Description = "">>tmp.vbs
echo oShellLink.WorkingDirectory = "%~dp0">>tmp.vbs
echo oShellLink.Save>>tmp.vbs
call tmp.vbs
del /f /q tmp.vbs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions