Skip to content

Latest commit

 

History

History
249 lines (189 loc) · 4.72 KB

File metadata and controls

249 lines (189 loc) · 4.72 KB

Configuration - 0frames

How to configure it?

Look for ./json folder, this contains the config files.

Appxs

Config file: appx.json

Example:

[
    {
        "name":"Microsoft.WindowsCamera",
        "appid":"9WZDNCRFJBBG"
    }
]

Parameters:

"name": the friendly name of the AppX

"appid": Microsoft Store id for WinGet reinstall (if there isn't an "appid" or you don't know set it's value to "EMPTY")

Collections

Config file: collections.json

Example:

[
    {
        "name":"collection-name",
        "packages": [
            {
                "name":"Google.Chrome"
            }
        ]
    }
]

Each collections should have it's own object.

Parameters:

"name": collection's name

"packages": key/array for packages

{ "name": } object for each package in the collection

Config

Config file: config.json

Example:

{
    "workdir":"C:\\0frames_workdir",
    "logdir":"\\logs",
    "getinfo":"false",
    "skipconfirm":"false",
    "skiplog":"false",
    "skipsystembackup":"false"
}

Parameters:

"workdir": path for the working (temp) directory

"logdir": relative path to the "workdir", logs are stored here by default

"getinfo" if "true", a few information will apper on the run of the program about your system

"skipconfirm": if "true", skips the first confirmation on the start of the program

"skiplog": if "true", 0frames won't ask you for a custom log directory location, it will use the one specified in the "logdir" parameter

"skipsystembackup": if "true", 0frames won't show you a popup about system restore point creation before you run the program

Packages (package manager)

Config file: packages.json

Example:

[
    {
        "name":"WinSCP.WinSCP"
    },
    {
        "name":"Git.Git"
    },
    {
        "name":"Microsoft.Sysinternals.ProcessExplorer"
    },
    {
        "name":"Ventoy.Ventoy"
    }
]

Each package should have it's own object.

Parameters:

"name": packages's name

Redistributions

Config file: redists.json

Example:

[
    {
        "name":"Microsoft.VCRedist.2015+.x64"
    },
    {
        "name":"Microsoft.VCRedist.2015+.x86"
    },
    {
        "name":"Microsoft.VCRedist.2013.x64"
    },
    {
        "name":"Microsoft.VCRedist.2013.x86"
    }
]

Each redist should have it's own object.

Parameters:

"name": redist's name

Windows settings

Config file: winsettings.json

Example:

[
    {
        "namevis":"Clipboard history",
        "options":[
            {
                "name":"Don't change it",
                "nochange":"true"
            },
            {
                "name":"Disable",
                "reg": [
                    {
                        "path":"HKCU:\\Software\\Microsoft\\Clipboard",
                        "name":"EnableClipboardHistory",
                        "type":"DWord",
                        "value":"0",
                        "action":"add"
                    }
                ],
                "nochange":"false"
            },
            {
                "name":"Enable",
                "reg": [
                    {
                        "path":"HKCU:\\Software\\Microsoft\\Clipboard",
                        "name":"EnableClipboardHistory",
                        "type":"DWord",
                        "value":"1",
                        "action":"add"
                    }
                ],
                "nochange":"false"
            }
        ],
        "tooltip":"Win + V: clipboard history function"
    }
]

Each setting should have it's own object.

Parameters:

"namevis": setting's name

"options": options to be shown in the combo box (like "Disable", "Enable", etc.)

No change block:

{
    "name":"Don't change it",
    "nochange":"true"
},

This is an option where no change will be done. "nochange": if "true", there won't be any changes applied

Setting block:

{
    "name":"Disable",
    "reg": [
        {
            "path":"HKCU:\\Software\\Microsoft\\Clipboard",
            "name":"EnableClipboardHistory",
            "type":"DWord",
            "value":"0",
            "action":"add"
        }
    ],
    "nochange":"false"
},

"name": option's name

"reg": array for the registry changes

->>> Registry changes:

{
    "path":"HKCU:\\Software\\Microsoft\\Clipboard",
    "name":"EnableClipboardHistory",
    "type":"DWord",
    "value":"0",
    "action":"add"
}

"path": reg key's path

"name": item property's name (if "type" is "String" leave it empty)

"type": type of the registry entry ("DWord", "String")

"value": value of the key or value of the imte property if "name" is specified

"action": specifies what to do with the reg change ("add" or "remove")