Use chef_allow_gsr for os

This commit is contained in:
Aoran Zeng 2025-08-10 20:01:19 +08:00
parent f36fd1ccb2
commit 827a26951b
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
29 changed files with 29 additions and 97 deletions

View File

@ -8,6 +8,7 @@ void
os_armbian_prelude () os_armbian_prelude ()
{ {
use_this(os_armbian); use_this(os_armbian);
chef_allow_gsr(os_armbian);
chef_set_created_on (this, "2024-06-14"); chef_set_created_on (this, "2024-06-14");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -20,10 +21,6 @@ os_armbian_prelude ()
"Aoran Zeng", "ccmywish@qq.com", "Aoran Zeng", "ccmywish@qq.com",
"Yangmoooo", "yangmoooo@outlook.com"); "Yangmoooo", "yangmoooo@outlook.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_debian_prelude () os_debian_prelude ()
{ {
use_this(os_debian); use_this(os_debian);
chef_allow_gsr(os_debian);
chef_set_created_on (this, "2023-09-02"); chef_set_created_on (this, "2023-09-02");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -22,10 +23,6 @@ os_debian_prelude ()
"Yangmoooo", "yangmoooo@outlook.com", "Yangmoooo", "yangmoooo@outlook.com",
"GitHub Copilot", "https://github.com/copilot"); "GitHub Copilot", "https://github.com/copilot");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_kali_prelude () os_kali_prelude ()
{ {
use_this(os_kali); use_this(os_kali);
chef_allow_gsr(os_kali);
chef_set_created_on (this, "2023-09-29"); chef_set_created_on (this, "2023-09-29");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -20,10 +21,6 @@ os_kali_prelude ()
"Yangmoooo", "yangmoooo@outlook.com", "Yangmoooo", "yangmoooo@outlook.com",
"Happy Game", "happygame1024@gmail.com"); "Happy Game", "happygame1024@gmail.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_linuxlite_prelude () os_linuxlite_prelude ()
{ {
use_this(os_linuxlite); use_this(os_linuxlite);
chef_allow_gsr(os_linuxlite);
chef_set_created_on (this, "2023-09-29"); chef_set_created_on (this, "2023-09-29");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,10 +20,6 @@ os_linuxlite_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com"); "Yangmoooo", "yangmoooo@outlook.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_linuxmint_prelude () os_linuxmint_prelude ()
{ {
use_this(os_linuxmint); use_this(os_linuxmint);
chef_allow_gsr(os_linuxmint);
chef_set_created_on (this, "2023-09-29"); chef_set_created_on (this, "2023-09-29");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,10 +20,6 @@ os_linuxmint_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Happy Game", "happygame1024@gmail.com"); "Happy Game", "happygame1024@gmail.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_ros_prelude () os_ros_prelude ()
{ {
use_this(os_ros); use_this(os_ros);
chef_allow_gsr(os_ros);
chef_set_created_on (this, "2023-09-03"); chef_set_created_on (this, "2023-09-03");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -20,10 +21,6 @@ os_ros_prelude ()
"Aoran Zeng", "ccmywish@qq.com", "Aoran Zeng", "ccmywish@qq.com",
"zouri", "guoshuaisun@outlook.com"); "zouri", "guoshuaisun@outlook.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -10,6 +10,7 @@ void
os_raspberrypi_prelude () os_raspberrypi_prelude ()
{ {
use_this(os_raspberrypi); use_this(os_raspberrypi);
chef_allow_gsr(os_raspberrypi);
chef_set_created_on (this, "2023-09-29"); chef_set_created_on (this, "2023-09-29");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -21,10 +22,6 @@ os_raspberrypi_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com"); "Yangmoooo", "yangmoooo@outlook.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_termux_prelude () os_termux_prelude ()
{ {
use_this(os_termux); use_this(os_termux);
chef_allow_gsr(os_termux);
chef_set_created_on (this, "2025-03-04"); chef_set_created_on (this, "2025-03-04");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -18,10 +19,6 @@ os_termux_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -10,6 +10,7 @@ void
os_trisquel_prelude () os_trisquel_prelude ()
{ {
use_this(os_trisquel); use_this(os_trisquel);
chef_allow_gsr(os_trisquel);
chef_set_created_on (this, "2023-09-29"); chef_set_created_on (this, "2023-09-29");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -20,10 +21,6 @@ os_trisquel_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_ubuntu_prelude () os_ubuntu_prelude ()
{ {
use_this(os_ubuntu); use_this(os_ubuntu);
chef_allow_gsr(os_ubuntu);
chef_set_created_on (this, "2023-08-30"); chef_set_created_on (this, "2023-08-30");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -21,10 +22,6 @@ os_ubuntu_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Zhao", "1792582687@qq.com"); "Zhao", "1792582687@qq.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_deepin_prelude () os_deepin_prelude ()
{ {
use_this(os_deepin); use_this(os_deepin);
chef_allow_gsr(os_deepin);
chef_set_created_on (this, "2023-09-26"); chef_set_created_on (this, "2023-09-26");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,10 +20,6 @@ os_deepin_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com"); "Yangmoooo", "yangmoooo@outlook.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -11,6 +11,7 @@ void
os_openkylin_prelude () os_openkylin_prelude ()
{ {
use_this(os_openkylin); use_this(os_openkylin);
chef_allow_gsr(os_openkylin);
chef_set_created_on (this, "2023-09-06"); chef_set_created_on (this, "2023-09-06");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -22,10 +23,6 @@ os_openkylin_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com"); "Aoran Zeng", "ccmywish@qq.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_alpine_prelude () os_alpine_prelude ()
{ {
use_this(os_alpine); use_this(os_alpine);
chef_allow_gs(os_alpine);
chef_set_created_on (this, "2023-09-24"); chef_set_created_on (this, "2023-09-24");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,10 +20,6 @@ os_alpine_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com"); "Yangmoooo", "yangmoooo@outlook.com");
chef_allow_get();
chef_allow_set();
// chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_allow_english(this); chef_allow_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_freebsd_prelude () os_freebsd_prelude ()
{ {
use_this(os_freebsd); use_this(os_freebsd);
chef_allow_s(os_freebsd);
chef_set_created_on (this, "2023-09-03"); chef_set_created_on (this, "2023-09-03");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -18,8 +19,6 @@ os_freebsd_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_netbsd_prelude () os_netbsd_prelude ()
{ {
use_this(os_netbsd); use_this(os_netbsd);
chef_allow_gs(os_netbsd);
chef_set_created_on (this, "2023-09-05"); chef_set_created_on (this, "2023-09-05");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -18,8 +19,6 @@ os_netbsd_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);

View File

@ -8,6 +8,7 @@ void
os_openbsd_prelude () os_openbsd_prelude ()
{ {
use_this(os_openbsd); use_this(os_openbsd);
chef_allow_gs(os_openbsd);
chef_set_created_on (this, "2023-09-03"); chef_set_created_on (this, "2023-09-03");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -18,9 +19,6 @@ os_openbsd_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_gentoo_prelude () os_gentoo_prelude ()
{ {
use_this(os_gentoo); use_this(os_gentoo);
chef_allow_s(os_gentoo);
chef_set_created_on (this, "2023-09-05"); chef_set_created_on (this, "2023-09-05");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,10 +20,6 @@ os_gentoo_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com"); "Aoran Zeng", "ccmywish@qq.com");
// chef_allow_get();
chef_allow_set();
// chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_allow_english(this); chef_allow_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_openwrt_prelude () os_openwrt_prelude ()
{ {
use_this(os_openwrt); use_this(os_openwrt);
chef_allow_gsr(os_openwrt);
chef_set_created_on (this, "2024-08-08"); chef_set_created_on (this, "2024-08-08");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -20,10 +21,6 @@ os_openwrt_prelude ()
"Yangmoooo", "yangmoooo@outlook.com", "Yangmoooo", "yangmoooo@outlook.com",
"happy game", "happygame1024@gmail.com"); "happy game", "happygame1024@gmail.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_allow_english(this); chef_allow_english(this);
chef_allow_user_define(this); chef_allow_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_solus_prelude () os_solus_prelude ()
{ {
use_this(os_solus); use_this(os_solus);
chef_allow_s(os_solus);
chef_set_created_on (this, "2023-09-29"); chef_set_created_on (this, "2023-09-29");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -18,9 +19,6 @@ os_solus_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
// chef_allow_get();
chef_allow_set();
// chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);

View File

@ -8,6 +8,7 @@ void
os_voidlinux_prelude () os_voidlinux_prelude ()
{ {
use_this(os_voidlinux); use_this(os_voidlinux);
chef_allow_gsr(os_voidlinux);
chef_set_created_on (this, "2023-09-24"); chef_set_created_on (this, "2023-09-24");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,10 +20,6 @@ os_voidlinux_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com"); "Yangmoooo", "yangmoooo@outlook.com");
chef_allow_get();
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);

View File

@ -8,6 +8,7 @@ void
os_almalinux_prelude () os_almalinux_prelude ()
{ {
use_this(os_almalinux); use_this(os_almalinux);
chef_allow_s(os_almalinux);
chef_set_created_on (this, "2024-06-12"); chef_set_created_on (this, "2024-06-12");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,8 +20,6 @@ os_almalinux_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com"); "Yangmoooo", "yangmoooo@outlook.com");
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_anolis_prelude () os_anolis_prelude ()
{ {
use_this(os_anolis); use_this(os_anolis);
chef_allow_s(os_anolis);
chef_set_created_on (this, "2023-09-24"); chef_set_created_on (this, "2023-09-24");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -18,8 +19,6 @@ os_anolis_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_fedora_prelude () os_fedora_prelude ()
{ {
use_this(os_fedora); use_this(os_fedora);
chef_allow_sr(os_fedora);
chef_set_created_on (this, "2023-09-26"); chef_set_created_on (this, "2023-09-26");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -21,9 +22,6 @@ os_fedora_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com"); "Aoran Zeng", "ccmywish@qq.com");
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_rockylinux_prelude () os_rockylinux_prelude ()
{ {
use_this(os_rockylinux); use_this(os_rockylinux);
chef_allow_sr(os_rockylinux);
chef_set_created_on (this, "2023-09-24"); chef_set_created_on (this, "2023-09-24");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,9 +20,6 @@ os_rockylinux_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"happy game", "happygame1024@gmail.com"); "happy game", "happygame1024@gmail.com");
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_openeuler_prelude () os_openeuler_prelude ()
{ {
use_this(os_openeuler); use_this(os_openeuler);
chef_allow_gs(os_openeuler);
chef_set_created_on (this, "2023-09-06"); chef_set_created_on (this, "2023-09-06");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -21,8 +22,6 @@ os_openeuler_prelude ()
"Yangmoooo", "yangmoooo@outlook.com", "Yangmoooo", "yangmoooo@outlook.com",
"happy game", "happygame1024@gmail.com"); "happy game", "happygame1024@gmail.com");
chef_allow_get();
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);

View File

@ -8,6 +8,7 @@ void
os_opensuse_prelude () os_opensuse_prelude ()
{ {
use_this(os_opensuse); use_this(os_opensuse);
chef_allow_s(os_opensuse);
chef_set_created_on (this, "2023-09-17"); chef_set_created_on (this, "2023-09-17");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,10 +20,6 @@ os_opensuse_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com"); "Aoran Zeng", "ccmywish@qq.com");
// chef_allow_get();
chef_allow_set();
// chef_allow_reset();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -11,6 +11,7 @@ void
os_arch_prelude () os_arch_prelude ()
{ {
use_this(os_arch); use_this(os_arch);
chef_allow_gs(os_arch);
chef_set_created_on (this, "2023-09-05"); chef_set_created_on (this, "2023-09-05");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -23,9 +24,6 @@ os_arch_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"happy game", "happygame1024@gmail.com"); "happy game", "happygame1024@gmail.com");
chef_allow_get();
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_msys2_prelude () os_msys2_prelude ()
{ {
use_this(os_msys2); use_this(os_msys2);
chef_allow_s(os_msys2);
chef_set_created_on (this, "2023-09-06"); chef_set_created_on (this, "2023-09-06");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -19,8 +20,6 @@ os_msys2_prelude ()
chef_set_contributors (this, 1, chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com"); "Aoran Zeng", "ccmywish@qq.com");
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);

View File

@ -8,6 +8,7 @@ void
os_manjaro_prelude () os_manjaro_prelude ()
{ {
use_this(os_manjaro); use_this(os_manjaro);
chef_allow_s(os_manjaro);
chef_set_created_on (this, "2023-09-06"); chef_set_created_on (this, "2023-09-06");
chef_set_last_updated (this, "2025-08-10"); chef_set_last_updated (this, "2025-08-10");
@ -17,8 +18,6 @@ os_manjaro_prelude ()
chef_set_sous_chefs (this, 0); chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 0); chef_set_contributors (this, 0);
chef_allow_set();
chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_local_mode (this, CanNot, NULL, NULL);
chef_forbid_english(this); chef_forbid_english(this);
chef_forbid_user_define(this); chef_forbid_user_define(this);