# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/oh-my-posh/no-notice.patch # Copyright (C) 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- Avoid checking the web for newer versions at startup as it might be a security risk depending on your threat model. - NoTag --- oh-my-posh-14.26.0/src/shell/init.go.vanilla 2023-06-06 18:27:38.641000000 +0300 +++ oh-my-posh-14.26.0/src/shell/init.go 2023-06-06 18:28:25.724000000 +0300 @@ -11,7 +11,6 @@ "github.com/jandedobbeleer/oh-my-posh/src/platform" "github.com/jandedobbeleer/oh-my-posh/src/template" - "github.com/jandedobbeleer/oh-my-posh/src/upgrade" ) //go:embed scripts/omp.ps1 @@ -259,7 +259,7 @@ // only run this for shells that support // injecting the notice directly if shell != PWSH && shell != PWSH5 { - notice, hasNotice = upgrade.Notice(env) + notice, hasNotice = "", false // upgrade.Notice(env) } return strings.NewReplacer(