Categorygithub.com/dennis1248/automated-windows-10-configuration
repositorypackage
0.3.0-alpha
Repository: https://github.com/dennis1248/automated-windows-10-configuration.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Automated Windows 10 configuration

Project logo

While you drink a cup of coffee we do the rest
This automated tool will Install programs from chocolatey, give windows your favourite colour, set a wallpaper, remove annoying UI elements and much more from just a config file

What can this tool do

  • :heavy_check_mark: Install programs from chocolatey
  • :heavy_check_mark: Setting theme colour and wallpaper
  • :heavy_check_mark: Change or remove the task view and search
  • If you have any suggestions create an issue

Requirements

  • Windows 10 x64

Use the program

!! Disclaimer !!
Do not use this application on a already set up pc it will probably break things

  • Use the winconfig tool OR
  • Download the latest release zip
  • Unpack the files
  • Edit the config.json
  • Double click the setup.exe or save it for later use :)

Development

NOTES

Please carefully read the following before you start playing around with it;

  • Do not use git clone because that will give errors, why
  • As-is it can only be compiled on a Linux-based client, use git bash or bash (Ubuntu, fedora, etc)
  • Do not store files or modify files in the build directory because then you will likely end up breaking everything and files might be overwritten

Setup

  • install Golang
  • $ go get github.com/akavel/rsrc
  • Add GOPATH to the system variables
    • Windows: Add %USERPROFILE%\go\bin to System Variables (how to)
    • Linux: Execute $ echo 'export GOPATH=$HOME/go' >> $HOME/.bashrc && PATH=$PATH:$GOPATH/bin >> $HOME/.bashrc
  • $ go get github.com/dennis1248/Automated-Windows-10-configuration or use your repo if you have forked this project
  • The output of the last command will contain the location of the directory where the project is cloned to

Compile the code

make sure you are inside the scripts folder: $ cd scripts

ExecOutput
$ sh buildSetup.shBuild just the setup.exe file for development
$ sh buildDev.shBuild the program and execute
$ sh buildRelease.shBuild a release setup.exe file
$ sh buildTest.shBuild and add the testing wallpaper and config

Testing

Read: docs/markdown/testing.md

VScode and linux bugg

if you get this error under the tab PROBLEMS:

go build errors: mkdir /usr/lib/golang/pkg/windows_386/: permission denied
go build internal/race: mkdir /usr/lib/golang/pkg/windows_386: permission denied
...

Do this:

  • $ su -
  • $ cd /usr/lib/golang/pkg
  • $ ln -s linux_amd64 windows_386
  • $ chmod 777 linux_amd64 -R