diff --git a/src/recipe/ware/Anaconda/Anaconda.c b/src/recipe/ware/Anaconda/Anaconda.c index 36a15d1..dbc5982 100644 --- a/src/recipe/ware/Anaconda/Anaconda.c +++ b/src/recipe/ware/Anaconda/Anaconda.c @@ -19,7 +19,11 @@ wr_anaconda_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 2, "@Yangmoooo", "@xyx1926885268"); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_deny_user_define(this); diff --git a/src/recipe/ware/CocoaPods.c b/src/recipe/ware/CocoaPods.c index 58573ab..e4c56e2 100644 --- a/src/recipe/ware/CocoaPods.c +++ b/src/recipe/ware/CocoaPods.c @@ -17,8 +17,11 @@ wr_cocoapods_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 0); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_deny_english(this); chef_allow_user_define(this); diff --git a/src/recipe/ware/Docker/Docker.c b/src/recipe/ware/Docker/Docker.c index dc6784d..13c375f 100644 --- a/src/recipe/ware/Docker/Docker.c +++ b/src/recipe/ware/Docker/Docker.c @@ -34,7 +34,11 @@ wr_docker_prelude () chef_set_cooks (this, 2, "@happy-game", "@ccmywish"); chef_set_sauciers (this, 0); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_allow_user_define(this); diff --git a/src/recipe/ware/Emacs.c b/src/recipe/ware/Emacs.c index 9e9ca5b..2582c45 100644 --- a/src/recipe/ware/Emacs.c +++ b/src/recipe/ware/Emacs.c @@ -24,7 +24,11 @@ wr_emacs_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 0); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_deny_user_define(this); diff --git a/src/recipe/ware/Flatpak.c b/src/recipe/ware/Flatpak.c index 92185a5..36ac43d 100644 --- a/src/recipe/ware/Flatpak.c +++ b/src/recipe/ware/Flatpak.c @@ -17,7 +17,11 @@ wr_flatpak_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 1, "@jialinlvcn"); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_allow_user_define(this); diff --git a/src/recipe/ware/Guix.c b/src/recipe/ware/Guix.c index 2546530..4453874 100644 --- a/src/recipe/ware/Guix.c +++ b/src/recipe/ware/Guix.c @@ -17,7 +17,11 @@ wr_guix_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 0); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_deny_user_define(this); diff --git a/src/recipe/ware/Homebrew/Homebrew.c b/src/recipe/ware/Homebrew/Homebrew.c index 99bcc4d..7989020 100644 --- a/src/recipe/ware/Homebrew/Homebrew.c +++ b/src/recipe/ware/Homebrew/Homebrew.c @@ -19,7 +19,11 @@ wr_homebrew_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 1, "@Word2VecT"); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_allow_english(this); chef_deny_user_define(this); diff --git a/src/recipe/ware/Nix.c b/src/recipe/ware/Nix.c index 8656f5d..bbf3f13 100644 --- a/src/recipe/ware/Nix.c +++ b/src/recipe/ware/Nix.c @@ -17,7 +17,11 @@ wr_nix_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 0); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_deny_user_define(this); diff --git a/src/recipe/ware/TeX-Live.c b/src/recipe/ware/TeX-Live.c index c590b6b..b2e8218 100644 --- a/src/recipe/ware/TeX-Live.c +++ b/src/recipe/ware/TeX-Live.c @@ -19,7 +19,11 @@ wr_tex_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 1, "@Mikachu2333"); - chef_allow_local_mode (this, CanNot, NULL, NULL); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_allow_user_define(this); diff --git a/src/recipe/ware/WinGet.c b/src/recipe/ware/WinGet.c index a843b0c..5d5d626 100644 --- a/src/recipe/ware/WinGet.c +++ b/src/recipe/ware/WinGet.c @@ -17,6 +17,11 @@ wr_winget_prelude () chef_set_cooks (this, 1, "@ccmywish"); chef_set_sauciers (this, 1, "@Mikachu2333"); + chef_set_scope_cap (this, ProjectScope, ScopeCap_Unable); + chef_set_scope_cap (this, UserScope, ScopeCap_Able_And_Implemented); + chef_set_scope_cap (this, SystemScope, ScopeCap_Unable); + chef_set_default_scope (this, UserScope); + chef_deny_english(this); chef_allow_user_define(this);