From 450b5347e75bf759a5588522bd7ff4e8a7e3d664 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 23 Oct 2024 23:32:32 +0800 Subject: feat(config): update some Windows bootstrap files. --- configs/Microsoft.PowerShell_profile.ps1 | 7 +-- configs/crupest-winget.json | 104 +++++++++++++++++++++++++++++++ configs/winget.json | 80 ------------------------ 3 files changed, 106 insertions(+), 85 deletions(-) create mode 100644 configs/crupest-winget.json delete mode 100644 configs/winget.json (limited to 'configs') diff --git a/configs/Microsoft.PowerShell_profile.ps1 b/configs/Microsoft.PowerShell_profile.ps1 index 38dd7cc..aeced5f 100644 --- a/configs/Microsoft.PowerShell_profile.ps1 +++ b/configs/Microsoft.PowerShell_profile.ps1 @@ -1,6 +1,3 @@ -Import-Module posh-git -Import-Module "$env:VCPKG_INSTALLATION_ROOT\scripts\posh-vcpkg" - function Use-VC { param( [Parameter()] @@ -28,8 +25,8 @@ function Use-VC { function Set-Proxy { - $env:http_proxy = "http://localhost:2080" - $env:https_proxy = "http://localhost:2080" + $env:http_proxy = "http://127.0.0.1:2080" + $env:https_proxy = "http://127.0.0.1:2080" } function Reset-Proxy { diff --git a/configs/crupest-winget.json b/configs/crupest-winget.json new file mode 100644 index 0000000..df2e7d9 --- /dev/null +++ b/configs/crupest-winget.json @@ -0,0 +1,104 @@ +{ + "$schema" : "https://aka.ms/winget-packages.schema.2.0.json", + "CreationDate" : "2024-10-31T18:34:15.174-00:00", + "Sources" : + [ + { + "Packages" : + [ + { + "PackageIdentifier" : "7zip.7zip" + }, + { + "PackageIdentifier" : "Docker.DockerDesktop" + }, + { + "PackageIdentifier" : "Git.Git" + }, + { + "PackageIdentifier" : "Mozilla.Firefox" + }, + { + "PackageIdentifier" : "Mozilla.Thunderbird" + }, + { + "PackageIdentifier" : "VideoLAN.VLC" + }, + { + "PackageIdentifier" : "vim.vim" + }, + { + "PackageIdentifier" : "Neovim.Neovim" + }, + { + "PackageIdentifier" : "OpenJS.NodeJS" + }, + { + "PackageIdentifier" : "voidtools.Everything" + }, + { + "PackageIdentifier" : "Neovide.Neovide" + }, + { + "PackageIdentifier" : "Microsoft.PowerShell" + }, + { + "PackageIdentifier" : "Kitware.CMake" + }, + { + "PackageIdentifier" : "JetBrains.PyCharm.Community" + }, + { + "PackageIdentifier" : "Tencent.QQ.NT" + }, + { + "PackageIdentifier" : "Tencent.WeChat" + }, + { + "PackageIdentifier" : "Python.Launcher" + }, + { + "PackageIdentifier" : "NetEase.CloudMusic" + }, + { + "PackageIdentifier" : "agalwood.Motrix" + }, + { + "PackageIdentifier" : "BurntSushi.ripgrep.MSVC" + }, + { + "PackageIdentifier" : "Microsoft.VisualStudio.Locator" + }, + { + "PackageIdentifier" : "Ninja-build.Ninja" + }, + { + "PackageIdentifier" : "Rufus.Rufus" + }, + { + "PackageIdentifier" : "Rustlang.Rustup" + }, + { + "PackageIdentifier" : "Python.Python.3.13" + }, + { + "PackageIdentifier" : "Microsoft.PowerToys" + }, + { + "PackageIdentifier" : "Microsoft.VisualStudioCode" + }, + { + "PackageIdentifier" : "Microsoft.WinDbg" + } + ], + "SourceDetails" : + { + "Argument" : "https://cdn.winget.microsoft.com/cache", + "Identifier" : "Microsoft.Winget.Source_8wekyb3d8bbwe", + "Name" : "winget", + "Type" : "Microsoft.PreIndexed.Package" + } + } + ], + "WinGetVersion" : "1.9.2411-preview" +} \ No newline at end of file diff --git a/configs/winget.json b/configs/winget.json deleted file mode 100644 index a78016b..0000000 --- a/configs/winget.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "$schema": "https://aka.ms/winget-packages.schema.2.0.json", - "CreationDate": "2023-10-02T17:22:04.615-00:00", - "Sources": [ - { - "Packages": [ - { - "PackageIdentifier": "7zip.7zip" - }, - { - "PackageIdentifier": "BurntSushi.ripgrep.MSVC" - }, - { - "PackageIdentifier": "Docker.DockerDesktop" - }, - { - "PackageIdentifier": "Mozilla.Firefox.DeveloperEdition" - }, - { - "PackageIdentifier": "Git.Git" - }, - { - "PackageIdentifier": "LLVM.LLVM" - }, - { - "PackageIdentifier": "Microsoft.VisualStudio.Locator" - }, - { - "PackageIdentifier": "Microsoft.WinDbg" - }, - { - "PackageIdentifier": "Microsoft.WindowsTerminal" - }, - { - "PackageIdentifier": "Ninja-build.Ninja" - }, - { - "PackageIdentifier": "Rufus.Rufus" - }, - { - "PackageIdentifier": "pnpm.pnpm" - }, - { - "PackageIdentifier": "Microsoft.PowerShell" - }, - { - "PackageIdentifier": "Kitware.CMake" - }, - { - "PackageIdentifier": "Neovim.Neovim" - }, - { - "PackageIdentifier": "Microsoft.VisualStudioCode" - }, - { - "PackageIdentifier": "OpenJS.NodeJS" - }, - { - "PackageIdentifier": "Neovide.Neovide" - }, - { - "PackageIdentifier": "Microsoft.PowerToys" - }, - { - "PackageIdentifier": "voidtools.Everything" - }, - { - "PackageIdentifier": "Python.Python.3.12" - } - ], - "SourceDetails": { - "Argument": "https://cdn.winget.microsoft.com/cache", - "Identifier": "Microsoft.Winget.Source_8wekyb3d8bbwe", - "Name": "winget", - "Type": "Microsoft.PreIndexed.Package" - } - } - ], - "WinGetVersion": "1.7.2711-preview" -} \ No newline at end of file -- cgit v1.2.3