diff --git a/src/application.cpp b/src/application.cpp index f9928e7..e362764 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -95,7 +95,7 @@ void Application::setBuildDateTime(const QString &buildDateTime) config.sync(); } - setApplicationVersion(DApplication::buildVersion(QString(APP_VERSION) + "-" + "Flamescion" + "-" + buildDateTime)); + setApplicationVersion(DApplication::buildVersion(QString(APP_VERSION) + "-" + "Reason" + "-" + buildDateTime)); } void Application::setMainWindow(MainWindow *window) diff --git a/tool/aptss b/tool/aptss index 1ff19cf..adaaff1 100755 --- a/tool/aptss +++ b/tool/aptss @@ -1,5 +1,17 @@ #!/bin/bash +case `arch` in + x86_64) + STORE_URL="store" + STORE_LIST_URL="" + ;; + aarch64) + STORE_URL="aarch64-store" + STORE_LIST_URL="-aarch64" + ;; +esac + + SS_APT_FAST="/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast" if [ ! -e "/tmp/aptss-conf/apt-fast.conf" ];then @@ -14,7 +26,7 @@ chmod -R 755 /tmp/aptss-conf fi -if [ ! -e "/var/lib/apt/lists/d.spark-app.store_aarch64-store_Packages" ] && [ ! -e "/var/lib/apt/lists/d.store.deepinos.org.cn_aarch64-store_Packages" ] && [ ! -e "/var/lib/apt/lists/mirrors.sdu.edu.cn_spark-store-repository_aarch64-store_Packages" ];then +if [ ! -e "/var/lib/apt/lists/d.spark-app.store_${STORE_URL}_Packages" ] && [ ! -e "/var/lib/apt/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" ] && [ ! -e "/var/lib/apt/lists/mirrors.sdu.edu.cn_spark-store-repository_${STORE_URL}_Packages" ];then echo "接收星火仓库软件信息中..." mkdir -p /tmp/aptss-conf/ @@ -24,7 +36,7 @@ echo curl --silent -o /tmp/aptss-conf/apt-fast.conf "https://d.store.deepinos.org.cn/apt-fast.conf" chmod -R 755 /tmp/aptss-conf -sudo curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore-aarch64.list" +sudo curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list" sudo bwrap --dev-bind / / --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list' /etc/apt/sources.list.d/sparkstore.list apt update -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" #只更新星火源 @@ -72,13 +84,13 @@ echo curl --silent -o /tmp/aptss-conf/apt-fast.conf "https://d.store.deepinos.org.cn/apt-fast.conf" chmod -R 755 /tmp/aptss-conf -sudo curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore.list" +sudo curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list" sudo bwrap --dev-bind / / --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list' /etc/apt/sources.list.d/sparkstore.list apt update -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" #只更新星火源 elif [ "$1" = "update" ];then -sudo curl --progress-bar -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore.list" +sudo curl --progress-bar -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "https://d.store.deepinos.org.cn/sparkstore${STORE_LIST_URL}.list" mkdir -p /tmp/aptss-conf/ diff --git a/tool/ss-feedback/sender-d.sh.c b/tool/ss-feedback/sender-d.sh.c index 7fa5d8b..6295d1f 100644 --- a/tool/ss-feedback/sender-d.sh.c +++ b/tool/ss-feedback/sender-d.sh.c @@ -6,256 +6,225 @@ #endif static char data [] = -#define tst1_z 22 -#define tst1 ((&data[3])) - "\076\307\154\250\337\352\072\005\260\013\056\141\225\344\005\133" - "\253\344\371\351\041\307\131\136\160\145\161" -#define date_z 1 -#define date ((&data[27])) - "\021" -#define inlo_z 3 -#define inlo ((&data[28])) - "\227\257\246" -#define lsto_z 1 -#define lsto ((&data[31])) - "\143" -#define xecc_z 15 -#define xecc ((&data[32])) - "\241\070\147\023\242\032\311\011\301\020\361\311\015\172\342\136" - "\300" -#define shll_z 10 -#define shll ((&data[49])) - "\260\306\171\102\023\025\176\252\065\070\222" #define chk1_z 22 -#define chk1 ((&data[61])) - "\205\127\271\174\332\207\352\312\355\001\165\306\123\044\174\071" - "\331\273\243\367\025\221\067" -#define msg1_z 65 -#define msg1 ((&data[93])) - "\211\325\350\365\072\132\045\266\252\167\221\362\301\016\061\213" - "\034\342\357\000\156\336\101\027\365\327\375\044\354\025\273\151" - "\100\071\206\270\136\327\212\134\030\235\115\331\301\335\075\151" - "\102\327\245\356\033\244\337\346\220\036\065\050\203\042\264\033" - "\003\121\132\174\136\251\074\222\374\300\044\135\317" -#define tst2_z 19 -#define tst2 ((&data[162])) - "\100\263\133\313\272\000\151\235\065\064\107\120\323\147\325\200" - "\363\355\233\114\200\115\237\163" -#define msg2_z 19 -#define msg2 ((&data[187])) - "\014\054\122\201\364\164\320\154\157\346\040\123\364\335\142\071" - "\224\002\277\317\140\257" -#define rlax_z 1 -#define rlax ((&data[206])) - "\360" +#define chk1 ((&data[5])) + "\250\277\114\224\251\153\106\010\262\300\062\112\153\256\366\036" + "\106\002\145\140\125\310\174\373\152\251\071\211\003" #define opts_z 1 -#define opts ((&data[207])) - "\040" -#define text_z 1969 -#define text ((&data[571])) - "\307\027\026\176\302\216\333\221\174\164\113\275\047\231\134\233" - "\023\002\242\037\057\365\100\342\147\370\266\142\204\162\124\114" - "\212\153\313\114\371\246\335\165\033\051\063\102\303\217\336\327" - "\222\201\366\301\166\067\244\336\057\132\101\264\315\225\001\127" - "\000\314\243\371\162\201\157\216\253\242\321\157\062\257\106\305" - "\061\075\206\247\164\053\205\244\205\306\130\123\134\131\252\134" - "\045\116\126\230\317\306\046\173\151\367\352\233\247\060\140\330" - "\155\347\200\342\023\006\206\230\315\337\353\051\071\226\205\137" - "\344\334\367\264\242\036\060\014\026\032\247\276\113\010\226\271" - "\360\026\234\003\035\042\234\352\002\210\023\073\036\231\232\002" - "\165\222\267\030\261\347\044\307\001\314\205\115\325\034\006\305" - "\063\242\311\120\305\145\072\310\355\115\004\014\347\237\016\134" - "\061\306\165\343\255\231\253\257\146\060\374\073\115\003\001\200" - "\245\312\321\153\060\013\063\036\131\067\053\100\326\072\235\010" - "\000\022\353\255\254\226\135\023\307\131\116\025\134\120\226\002" - "\033\147\156\114\163\241\153\314\331\226\015\260\320\252\270\320" - "\275\244\176\152\073\333\175\003\065\314\030\222\034\256\224\067" - "\026\003\203\211\244\356\125\176\205\143\056\125\015\347\045\313" - "\214\244\065\310\177\263\313\264\177\344\106\234\223\333\324\251" - "\336\127\063\203\106\210\002\313\353\061\041\371\031\107\305\245" - "\353\372\155\152\255\071\037\055\036\146\311\261\101\235\133\040" - "\365\216\243\074\027\246\010\003\327\051\374\360\160\301\225\134" - "\274\003\306\152\075\346\227\133\114\141\014\034\314\050\271\077" - "\206\234\025\302\134\204\156\265\232\321\333\201\314\017\017\307" - "\304\323\217\312\105\367\252\237\307\323\204\031\216\324\047\272" - "\315\333\376\362\213\350\245\151\001\350\042\024\355\035\212\360" - "\251\240\000\212\116\245\364\035\053\273\151\200\047\114\072\044" - "\376\304\350\076\277\303\172\277\017\003\165\237\341\364\104\361" - "\244\050\236\223\126\126\037\157\306\045\147\146\051\010\135\005" - "\202\172\335\355\055\041\326\113\152\115\171\172\252\161\011\367" - "\215\074\222\001\133\216\100\057\323\316\164\303\165\147\032\356" - "\047\230\171\315\301\352\202\056\026\152\123\100\021\217\147\140" - "\335\345\233\334\307\254\112\022\343\107\235\113\212\322\077\045" - "\000\025\051\206\075\254\174\042\122\341\071\033\216\041\200\367" - "\373\363\346\032\273\317\004\072\127\327\111\374\243\352\074\136" - "\061\330\322\321\063\153\377\356\107\340\356\032\376\037\140\210" - "\126\021\131\277\242\024\346\001\243\322\264\170\321\222\057\063" - "\065\265\216\135\076\146\363\057\101\133\055\001\303\271\256\055" - "\275\231\260\015\226\255\245\322\007\013\144\054\046\044\000\070" - "\143\141\300\125\021\173\373\235\101\260\301\021\240\002\034\177" - "\225\150\327\064\326\161\135\131\371\362\347\240\036\054\327\147" - "\230\061\070\350\156\203\311\131\176\326\156\312\315\220\123\115" - "\143\102\376\165\222\221\144\107\047\201\124\111\122\064\255\017" - "\371\344\177\033\373\302\034\144\063\274\056\256\057\002\115\161" - "\076\003\353\056\120\365\073\214\142\375\110\003\334\024\053\351" - "\305\354\034\255\004\005\330\033\033\226\102\062\152\033\375\304" - "\305\136\314\012\024\201\347\144\165\274\040\110\120\337\151\106" - "\206\017\234\075\207\356\005\047\142\243\107\257\150\335\361\114" - "\231\157\126\020\046\343\205\377\032\335\152\207\213\236\327\014" - "\035\224\322\277\140\122\244\004\233\173\137\060\276\364\351\215" - "\327\240\043\152\123\054\230\370\152\256\171\120\272\351\002\266" - "\002\005\020\263\000\104\245\134\335\160\063\223\141\036\331\257" - "\127\151\102\173\353\051\040\312\065\176\155\325\211\265\361\127" - "\370\154\260\273\061\272\350\324\243\323\242\233\300\005\124\154" - "\114\123\052\114\205\306\040\236\262\140\000\161\207\332\044\010" - "\305\156\233\231\042\067\331\325\367\055\022\334\015\204\315\042" - "\034\165\362\337\106\076\260\221\021\117\115\334\364\021\054\230" - "\036\226\372\033\117\310\313\117\232\225\243\321\307\052\347\267" - "\045\351\044\162\215\230\046\174\176\374\372\226\027\072\001\264" - "\377\075\350\143\235\024\153\160\175\360\002\135\064\120\276\100" - "\023\241\345\237\347\043\127\335\327\354\361\365\014\364\050\277" - "\351\242\163\006\002\271\000\371\244\045\051\367\144\152\301\275" - "\300\227\323\347\151\325\204\024\361\040\170\062\054\032\017\061" - "\254\136\327\021\251\246\051\210\176\040\006\225\234\356\171\233" - "\363\102\107\246\045\116\252\131\350\042\042\104\131\240\352\064" - "\374\032\076\157\024\210\222\263\320\372\052\355\010\374\063\361" - "\314\252\350\027\115\121\211\317\152\206\251\024\335\205\121\166" - "\244\310\312\130\230\160\347\275\017\351\312\113\115\215\240\165" - "\236\144\376\070\351\047\351\316\355\247\003\025\105\022\023\306" - "\267\153\014\002\105\337\037\160\135\022\115\025\323\250\232\360" - "\273\036\261\260\376\273\055\313\035\270\274\153\342\101\253\160" - "\071\322\321\217\067\225\224\221\222\206\242\262\114\052\031\253" - "\262\127\026\162\370\163\320\241\106\231\126\036\252\250\020\366" - "\055\360\143\003\015\317\345\123\001\157\012\225\072\111\332\213" - "\374\303\162\153\355\205\251\271\274\022\260\367\005\020\063\051" - "\230\141\273\201\355\104\176\204\160\230\273\057\175\313\340\057" - "\236\062\016\277\214\263\065\076\125\302\117\241\204\302\157\213" - "\217\166\147\276\212\010\170\144\353\223\307\100\255\055\232\313" - "\252\003\134\362\266\254\016\205\341\151\354\335\353\122\115\375" - "\072\343\314\147\011\212\257\057\323\222\205\052\371\057\105\044" - "\356\225\340\140\246\361\110\071\036\036\346\023\041\216\270\265" - "\011\067\332\026\375\333\236\271\176\022\363\012\214\272\336\176" - "\126\345\042\245\313\132\077\073\113\265\061\211\261\373\335\312" - "\273\146\334\000\256\026\204\230\303\322\335\245\000\236\116\327" - "\011\361\052\042\212\023\130\010\104\200\134\210\263\334\167\346" - "\005\115\302\177\325\236\215\357\120\200\171\014\035\004\020\374" - "\163\136\177\373\223\150\242\001\347\153\027\116\037\212\111\360" - "\103\041\106\063\046\074\331\152\200\067\335\267\123\146\157\351" - "\323\310\337\263\036\144\236\155\106\247\137\307\341\106\100\126" - "\032\116\310\101\060\214\210\067\060\104\272\144\061\037\375\206" - "\213\265\001\102\252\355\354\210\364\116\276\340\126\234\231\104" - "\033\260\353\163\132\016\155\064\114\137\166\165\255\313\276\234" - "\076\315\145\331\323\035\262\173\220\054\350\231\020\314\061\220" - "\047\350\133\335\304\252\363\117\256\363\123\042\367\243\201\371" - "\255\172\366\074\126\013\043\072\305\226\345\026\337\217\377\206" - "\214\037\260\206\266\052\130\244\005\076\060\375\370\127\051\060" - "\212\064\050\171\233\327\170\271\030\272\135\141\340\043\175\266" - "\065\015\056\323\037\041\164\227\004\071\270\376\231\172\051\366" - "\061\027\067\332\335\373\150\060\141\033\273\077\302\030\326\236" - "\366\121\175\036\002\146\040\310\043\342\042\103\043\257\061\135" - "\160\154\055\122\001\140\366\271\100\246\313\263\302\356\134\007" - "\267\326\370\162\141\343\113\026\160\332\253\204\243\345\056\340" - "\012\035\275\234\100\316\105\350\210\045\152\235\370\125\045\213" - "\322\360\114\066\302\271\323\103\261\377\010\272\010\063\365\274" - "\302\224\107\114\306\031\064\343\203\120\142\027\222\015\042\153" - "\064\273\254\305\313\244\133\201\373\144\320\003\143\117\377\037" - "\037\034\320\374\316\004\223\204\326\111\303\014\123\154\254\175" - "\250\316\323\205\234\266\145\171\323\003\114\156\052\314\043\011" - "\224\133\045\046\270\212\340\245\377\005\067\334\104\257\045\026" - "\001\366\235\324\336\360\067\026\036\370\370\315\057\041\270\104" - "\002\320\364\365\050\235\234\266\360\060\253\007\235\262\102\340" - "\076\275\354\130\377\307\057\271\363\275\220\034\110\120\273\231" - "\255\322\324\342\033\127\211\164\255\035\164\070\064\025\156\125" - "\323\270\216\272\336\252\226\146\167\271\166\046\150\065\271\043" - "\022\223\276\142\141\044\215\231\013\206\234\244\333\014\022\351" - "\350\142\141\124\362\017\007\032\102\336\164\244\120\347\051\051" - "\042\210\142\067\044\230\322\340\331\343\232\323\327\345\240\307" - "\036\100\245\106\073\045\357\151\000\161\257\352\313\361\045\377" - "\023\214\137\262\237\263\136\252\331\336\023\076\145\075\207\254" - "\346\267\076\217\126\227\030\275\140\146\071\255\057\377\151\111" - "\141\253\022\262\307\254\140\055\276\216\054\155\304\024\373\032" - "\037\143\270\032\155\156\215\332\136\035\372\326\126\101\251\143" - "\102\245\306\326\161\071\076\034\027\146\241\314\273\251\367\161" - "\126\316\220\145\103\176\275\241\032\011\177\102\231\372\142\246" - "\257\007\076\352\145\176\053\266\062\225\122\170\324\223\142\105" - "\332\021\042\331\354\037\341\113\320\167\155\243\156\100\361\212" - "\300\306\143\273\065\342\071\030\354\255\207\065\003\057\257\376" - "\221\052\324\140\160\032\106\111\116\134\157\145\164\152\272\257" - "\066\014\356\262\013\034\127\162\147\352\247\261\165\301\146\317" - "\262\145\247\002\233\124\121\175\130\340\302\271\177\327\277\025" - "\147\221\220\337\075\307\313\033\175\220\133\072\014\114\132\214" - "\011\121\330\057\217\154\067\374\354\230\173\051\064\107\301\366" - "\223\063\113\053\351\343\122\226\264\062\123\315\026\022\256\300" - "\241\357\225\151\055\351\222\214\107\002\357\002\140\156\016\040" - "\055\331\352\325\274\105\165\107\346\036\325\114\120\236\015\062" - "\044\050\155\276\326\127\173\116\336\213\307\116\126\226\114\240" - "\377\010\223\232\047\301\337\213\003\234\131\111\142\355\226\003" - "\151\267\150\070\244\330\067\062\250\344\224\305\263\134\011\211" - "\346\074\203\262\177\217\015\163\164\332\274\052\363\243\013\157" - "\071\111\154\151\316\334\253\001\273\207\257\361\324\212\027\120" - "\272\357\060\340\006\047\277\331\123\163\047\033\117\040\145\044" - "\164\365\252\345\177\126\035\247\177\234\263\352\244\233\206\103" - "\276\057\370\346\126\212\036\347\030\262\243\276\144\111\300\333" - "\335\174\124\100\164\312\146\112\220\030\277\356\134\361\304\045" - "\320\237\275\245\355\046\166\366\376\202\052\151\173\157\050\006" - "\372\023\100\304\075\115\176\256\054\061\004\313\216\377\150\256" - "\365\366\122\061\015\370\072\020\317\144\015\300\324\317\125\061" - "\213\131\367\366\227\336\216\362\052\357\377\271\357\147\147\344" - "\135\272\026\153\262\120\173\202\264\211\102\211\130\230\272\344" - "\362\262\332\211\220\150\174\273\130\173\164\110\343\334\054\101" - "\226\103\254\111\223\050\314\110\261\016\322\012\247\215\356\232" - "\100\310\043\320\061\240\214\212\033\001\322\376\335\377\100\163" - "\102\354\275\326\024\211\037\306\227\361\320\077\177\277\331\277" - "\207\375\220\271\235\034\104\271\035\026\270\373\025\370\157\130" - "\344\054\057\371\265\116\300\115\100\220\214\277\117\146\176\327" - "\144\017\221\001\053\325\273\111\353\163\104\001\153\263\132\120" - "\340\211\112\225\327\012\342\030\232\157\327\352\326\126\302\072" - "\145\123\074\221\050\367\332\024\153\037\026\326\323\160\047\264" - "\372\161\111\321\173\054\351\026\233\301\001\161\027\303\254\175" - "\026\350\016\077\340\351\124\113\011\152\042\335\333\111\221\325" - "\273\332\247\067\007\221\115\242\123\117\024\152\022\300\350\051" - "\251\367\151\211\340\275\325\352\050\367\310\003\101\131\331\374" - "\064\200\064\073\022\201\336\145\320\362\320\343\263\270\014\134" - "\257\165\346\220\063\273\173\133\262\103\136\363\235\067\360\322" - "\270\044\016\312\246\354\060\167\337\000\132\222\270\147\357\150" - "\335\325\371\020\220\165\153\103\271\312\066\126\002\047\050\273" - "\114\067\206\362\043\266\152\002\266\305\225\157\055\204\330\012" - "\132\322\033\352\107\206\055\000\121\144\127\123\214\200\017\330" - "\267\225\313\332\113\065\335\002\372\163\161\047\370\111\062\122" - "\034\115\074\143\324\152\143\045\316\272\171\132\072\210\063\362" - "\035\376\314\151\063\252\153\056\036\334\126\026\046\210\150\102" - "\326\245\246\252\020\012\320\337\305\111\072\000\321\155\362\357" - "\153\277\130\237\152\303\316\210\240\044\236\307\255\007\012\204" - "\255\260\056\275\272\376\234\200\110\327\200\031\104\162\011\260" - "\061\142\120\233\045\036\044\306\103\302\215\361" +#define opts ((&data[29])) + "\207" +#define text_z 1976 +#define text ((&data[168])) + "\255\305\314\313\244\163\366\103\251\145\024\020\016\143\035\240" + "\140\167\110\037\304\334\311\115\340\210\347\130\122\057\302\000" + "\364\216\314\231\002\302\335\254\050\361\275\066\124\332\326\265" + "\121\037\324\026\374\236\143\334\047\113\065\172\173\367\172\157" + "\206\106\011\211\011\346\065\061\327\362\147\054\315\076\341\036" + "\135\266\065\131\124\231\066\173\344\153\365\137\143\160\317\351" + "\267\330\163\300\277\250\362\226\233\132\302\150\230\243\207\366" + "\132\274\117\256\125\206\052\072\362\040\232\126\220\152\100\107" + "\103\263\010\002\134\372\231\367\124\133\315\150\163\215\252\312" + "\233\275\011\023\315\117\350\323\224\073\252\215\223\362\271\173" + "\022\335\241\117\356\214\176\107\050\116\011\237\072\375\065\301" + "\226\134\050\061\242\226\337\312\204\223\345\135\161\370\041\162" + "\345\331\355\073\260\040\227\303\065\264\036\254\326\211\162\135" + "\277\270\325\243\136\252\235\042\242\323\311\057\372\324\252\270" + "\026\017\115\067\311\277\277\050\010\210\071\230\035\227\066\244" + "\073\047\165\266\347\220\237\114\215\136\115\131\103\262\225\242" + "\103\007\105\014\240\212\216\256\252\372\302\267\134\205\313\220" + "\045\300\113\166\143\072\255\277\377\056\136\140\131\273\162\177" + "\303\320\343\040\223\323\302\115\377\122\231\045\132\240\304\332" + "\350\116\271\364\275\002\336\310\324\271\044\131\372\262\217\211" + "\062\122\177\071\160\301\114\356\234\253\356\274\307\363\140\072" + "\316\136\310\175\100\267\361\016\056\376\332\155\207\104\354\034" + "\235\170\340\214\027\141\365\077\302\237\333\341\301\003\070\360" + "\052\361\310\107\261\140\255\043\001\363\026\021\027\323\367\117" + "\251\176\021\030\257\332\344\220\156\117\036\301\003\077\176\375" + "\231\046\060\121\111\223\227\031\231\270\140\132\315\135\157\120" + "\325\326\244\326\163\044\251\127\103\233\352\060\063\034\012\336" + "\365\033\026\277\143\227\037\104\312\122\334\322\133\226\004\255" + "\270\271\130\177\045\253\054\343\265\074\177\173\033\351\025\026" + "\141\131\334\277\311\054\252\105\321\333\351\351\023\171\053\213" + "\112\260\211\010\304\055\246\110\310\355\067\304\014\143\303\076" + "\235\047\344\324\027\071\127\014\232\050\167\152\317\005\206\305" + "\013\022\101\231\376\371\216\104\134\241\045\216\314\144\357\202" + "\261\074\017\321\170\211\026\371\324\110\033\267\216\365\205\271" + "\264\055\367\312\223\013\044\330\255\071\332\154\375\173\233\322" + "\355\362\165\151\232\035\164\063\324\135\357\071\231\210\045\100" + "\052\373\030\240\051\270\044\055\337\202\224\140\064\171\153\066" + "\354\000\374\221\144\336\052\147\250\244\164\075\041\241\130\250" + "\274\325\135\255\345\100\362\241\131\017\237\002\325\225\334\366" + "\366\336\231\202\073\126\240\155\026\203\375\166\350\317\072\172" + "\052\153\062\036\370\143\236\367\173\073\357\244\214\112\300\073" + "\272\322\022\332\350\111\372\071\322\371\325\072\055\152\015\120" + "\162\015\065\217\316\234\240\213\021\255\374\102\200\216\360\142" + "\320\221\044\146\041\113\022\131\033\337\361\007\347\054\101\205" + "\156\061\345\027\325\163\223\320\133\043\256\264\351\166\173\203" + "\111\104\056\107\040\302\335\244\232\241\067\122\150\353\125\361" + "\046\176\303\312\063\264\045\073\165\133\346\150\335\326\145\161" + "\205\041\056\011\070\132\265\325\070\130\173\020\353\260\346\320" + "\121\364\275\070\270\361\372\007\234\177\135\211\000\303\316\004" + "\235\056\254\244\146\300\160\260\003\264\062\350\227\144\013\176" + "\274\051\107\050\222\203\145\154\310\071\205\035\170\337\174\203" + "\255\022\062\334\104\025\152\164\175\216\004\356\004\072\054\124" + "\247\345\035\026\364\200\003\254\172\011\202\226\364\327\360\204" + "\274\002\036\152\127\171\235\150\056\115\316\265\274\364\053\343" + "\021\025\122\026\255\326\127\154\212\235\244\247\234\212\304\321" + "\000\222\262\000\113\146\047\140\027\255\207\360\136\350\200\017" + "\062\262\250\345\276\323\314\313\204\221\333\024\157\277\010\074" + "\107\266\370\002\143\354\073\326\261\244\027\202\165\127\042\012" + "\170\065\262\152\012\157\262\020\246\063\342\163\014\322\254\053" + "\013\054\156\073\236\264\134\260\261\075\215\005\361\071\260\372" + "\276\372\111\233\100\304\116\053\203\107\124\167\051\316\351\045" + "\165\101\144\144\126\363\215\021\310\044\133\302\227\112\254\356" + "\103\004\367\271\335\317\277\333\070\013\035\035\116\256\055\275" + "\324\006\356\357\020\144\013\200\261\137\170\005\060\007\333\025" + "\261\356\271\024\205\202\033\110\106\377\305\201\353\135\161\007" + "\125\360\345\055\005\244\272\172\016\053\273\101\120\234\336\334" + "\163\002\216\163\110\306\104\007\037\204\260\063\370\146\271\002" + "\366\275\161\371\203\050\241\374\333\133\254\224\320\005\160\246" + "\147\100\254\013\314\215\072\003\373\361\144\236\265\114\365\103" + "\031\044\120\010\320\370\231\263\071\264\073\073\131\100\165\351" + "\202\277\357\372\142\322\113\274\260\336\127\024\133\223\375\345" + "\007\323\116\017\322\021\072\162\034\102\214\161\321\346\200\154" + "\356\044\225\233\023\370\057\001\076\073\167\046\376\332\326\215" + "\156\373\064\176\376\202\125\112\000\022\346\167\352\034\076\221" + "\071\105\300\223\101\151\170\120\033\357\210\117\136\377\070\257" + "\056\075\174\203\360\052\140\370\326\317\260\134\116\355\322\014" + "\045\204\171\067\217\377\304\127\146\244\263\262\167\334\140\174" + "\154\057\141\157\340\327\006\162\214\244\102\111\002\074\326\127" + "\325\201\270\260\263\046\240\235\203\202\263\315\072\120\136\307" + "\167\102\275\074\003\267\200\170\110\312\352\354\115\124\166\055" + "\240\051\047\304\117\224\215\163\126\022\224\374\140\246\065\264" + "\155\215\153\036\246\176\032\334\040\331\012\174\011\212\363\255" + "\063\066\032\204\264\376\337\030\113\001\325\135\226\156\176\056" + "\334\214\320\210\356\370\377\242\355\341\071\327\034\252\224\170" + "\030\201\367\062\100\030\307\133\173\160\133\233\020\114\050\344" + "\300\134\242\352\162\061\251\132\372\251\100\034\061\122\201\261" + "\322\364\031\174\132\026\036\073\311\061\302\335\114\121\375\270" + "\236\107\357\174\323\237\362\055\145\223\233\075\111\161\321\226" + "\302\256\265\150\261\246\175\162\276\124\021\246\041\237\064\074" + "\234\103\376\124\156\246\121\151\141\360\221\176\356\377\134\272" + "\137\242\236\365\240\163\143\261\357\210\263\001\356\213\310\204" + "\355\325\214\305\042\041\322\130\314\062\017\106\244\235\034\237" + "\051\072\117\043\164\250\233\151\262\123\037\113\247\302\052\267" + "\360\375\376\102\327\002\236\026\311\275\242\170\064\252\013\303" + "\271\122\112\113\145\201\154\277\172\137\333\026\122\224\144\371" + "\232\233\067\126\237\230\011\303\177\374\165\242\010\066\301\371" + "\171\012\273\216\366\156\304\221\031\326\351\061\004\343\350\155" + "\107\306\012\074\374\370\323\115\016\043\343\276\157\257\304\070" + "\242\221\342\206\324\125\325\230\016\117\143\161\205\016\172\056" + "\174\247\144\343\333\031\250\351\137\215\263\102\112\330\314\322" + "\070\050\013\202\022\272\171\351\022\330\324\311\274\201\173\131" + "\352\375\116\300\373\362\245\222\033\037\232\015\244\311\260\314" + "\035\030\064\356\023\320\026\315\361\141\175\062\276\053\057\007" + "\222\212\130\000\233\302\313\162\316\054\301\223\352\321\056\065" + "\064\251\057\342\072\171\142\036\314\217\121\303\240\035\311\247" + "\066\173\176\100\031\171\276\215\272\206\026\351\102\355\177\376" + "\006\004\217\030\111\137\220\344\153\210\157\173\100\234\035\340" + "\225\331\265\257\061\324\036\133\276\013\176\162\144\314\305\342" + "\066\115\016\222\332\102\342\366\126\361\255\375\031\324\050\152" + "\065\120\355\351\336\312\301\302\231\047\123\253\155\044\123\306" + "\226\222\347\315\272\032\025\302\174\031\302\305\102\373\131\372" + "\040\176\201\357\172\161\233\007\362\373\174\106\247\272\115\166" + "\011\104\331\233\331\011\105\342\054\014\071\173\142\321\326\262" + "\023\342\036\171\077\310\310\337\157\277\326\100\215\141\053\110" + "\307\063\146\140\055\107\374\116\337\142\130\226\336\232\311\246" + "\241\314\147\077\166\277\332\106\066\367\315\143\024\076\061\061" + "\261\326\221\342\254\224\207\046\102\211\230\253\060\030\132\273" + "\313\366\313\071\133\140\245\125\013\052\217\063\376\061\262\175" + "\125\112\222\147\016\276\002\316\061\205\052\157\166\360\163\145" + "\333\325\335\100\117\041\114\107\370\257\104\364\144\224\102\124" + "\247\050\041\260\240\015\370\206\140\255\072\202\267\004\133\010" + "\001\103\275\010\104\202\103\122\270\267\360\074\261\054\301\043" + "\352\105\237\340\155\143\311\224\144\242\360\134\071\324\162\172" + "\353\220\006\374\005\064\250\172\143\027\275\266\002\354\327\164" + "\322\020\267\340\352\135\112\115\114\241\077\231\367\306\115\117" + "\251\071\172\066\347\377\016\203\110\233\314\205\341\321\322\076" + "\314\236\336\341\033\305\214\015\067\123\357\325\016\334\175\251" + "\074\376\062\331\370\332\277\017\072\257\045\116\044\037\320\271" + "\126\270\162\125\137\144\126\135\045\242\126\131\175\060\363\235" + "\364\007\306\175\274\324\065\241\213\377\016\170\350\223\037\114" + "\051\273\100\365\310\362\244\207\201\140\365\350\305\356\316\362" + "\122\016\242\304\332\073\312\174\373\042\343\117\266\073\200\043" + "\116\244\140\355\377\350\343\132\244\063\010\372\271\063\065\254" + "\123\317\002\344\071\102\054\175\365\064\177\121\057\030\111\204" + "\164\252\161\164\222\124\316\066\210\327\061\101\012\146\356\136" + "\065\360\102\157\062\156\354\050\243\154\172\323\204\304\127\371" + "\156\311\156\000\036\075\067\246\025\150\350\037\316\326\176\004" + "\306\300\164\371\057\141\042\323\315\235\246\122\141\376\114\317" + "\307\272\317\345\367\006\213\014\157\164\054\076\112\253\103\021" + "\154\267\012\233\030\055\157\346\312\025\070\053\024\204\373\333" + "\076\312\301\066\321\115\103\101\301\160\177\013\033\302\034\207" + "\171\047\043\222\125\222\170\037\250\260\113\274\065\106\230\164" + "\021\131\252\343\246\356\044\147\136\243\163\171\146\220\001\340" + "\270\044\163\015\267\353\054\137\234\170\033\321\277\263\105\320" + "\015\360\264\264\336\330\033\075\174\217\266\343\037\270\303" +#define tst2_z 19 +#define tst2 ((&data[2353])) + "\345\223\042\022\357\241\112\354\260\222\102\167\252\056\120\014" + "\076\214\307\026\157\130\244\363" #define chk2_z 19 -#define chk2 ((&data[3006])) - "\167\110\276\076\337\263\055\021\326\376\303\271\116\177\005\021" - "\234\135\257\323\215\244\065" +#define chk2 ((&data[2375])) + "\220\111\122\133\224\270\135\156\155\316\001\121\000\005\210\301" + "\344\112\207\200\252" #define pswd_z 256 -#define pswd ((&data[3068])) - "\203\353\251\003\005\355\165\016\236\247\161\356\103\226\015\147" - "\135\121\052\353\102\364\202\270\154\313\135\241\316\000\163\121" - "\353\034\124\361\012\312\000\251\162\005\311\130\172\225\170\335" - "\232\200\230\127\166\017\071\346\214\020\070\345\002\106\026\001" - "\255\273\027\006\265\250\341\042\256\252\173\050\077\363\006\332" - "\164\236\062\353\255\153\321\071\174\012\037\176\121\066\200\376" - "\361\227\005\247\100\347\312\356\221\105\027\321\071\035\253\255" - "\273\335\230\151\110\152\243\305\165\302\103\306\371\303\305\352" - "\133\313\222\234\262\134\212\104\242\241\025\333\277\301\211\172" - "\237\042\344\350\215\207\255\003\112\360\311\103\264\217\056\020" - "\133\300\254\015\034\067\121\276\330\147\232\227\050\044\022\310" - "\106\366\260\323\175\135\326\307\116\240\013\002\060\071\023\213" - "\371\300\231\026\367\353\325\317\123\157\147\174\223\172\104\332" - "\160\364\255\356\121\204\266\237\045\301\242\125\372\266\341\363" - "\166\172\012\155\146\337\075\271\116\244\065\342\036\171\274\217" - "\155\152\176\277\357\064\137\024\365\002\151\360\270\113\344\056" - "\306\356\234\054\315\331\346\034\175\033\377\234\225\274\054\003" - "\047\252\302\026\336\042\052\324\044\224\305\334\337\251\013\245" - "\230\247\322\145\200\270\202\376\324\161\227\266\010\245\036\145" - "\366\111\120\071\076\323\361\252\236\116\114\155\117\300\276\073" - "\335\023\054\350\336\055\221\121\236\051\007\246\316\046\014\305" - "\157\135\376\256\060\360\131\317\077\245\074\216\146\373"/* End of data[] */; +#define pswd ((&data[2448])) + "\320\307\316\204\246\247\240\343\044\060\232\007\117\122\312\047" + "\056\001\014\302\043\036\265\342\251\304\163\362\207\111\015\130" + "\021\333\334\267\203\175\232\247\255\064\256\375\206\171\045\265" + "\172\062\170\235\121\055\146\272\255\036\204\154\131\010\212\014" + "\021\104\302\357\201\202\015\133\347\257\236\056\376\011\324\351" + "\150\047\105\305\016\254\200\274\313\005\050\044\015\263\061\037" + "\367\363\016\171\165\033\324\135\313\163\214\312\174\141\263\345" + "\211\371\252\227\246\053\124\161\061\174\226\077\060\307\136\047" + "\273\154\241\061\210\165\217\124\351\034\036\146\175\322\113\006" + "\313\366\236\161\042\362\343\123\157\171\222\237\100\360\306\374" + "\135\147\055\346\335\274\072\307\331\131\055\126\053\170\134\367" + "\157\373\150\221\355\114\344\134\305\166\373\006\146\302\002\304" + "\052\060\252\010\355\345\317\306\076\374\034\151\165\171\140\344" + "\164\311\165\142\025\131\276\333\317\272\341\066\175\344\372\247" + "\025\245\257\002\212\177\310\310\173\345\062\360\137\223\324\324" + "\134\111\066\162\243\365\115\162\260\057\251\055\023\244\324\050" + "\111\204\053\324\003\364\235\177\331\317\157\071\142\104\015\277" + "\216\104\061\061\071\176\244\351\256\116\026\301\362\353\352\074" + "\157\025\020\163\012\255\362\344\175\142\035\337\247\053\236\065" + "\157\320\147\250\117\014\177\372\362\363\355\172" +#define shll_z 10 +#define shll ((&data[2712])) + "\116\326\177\257\317\335\162\123\050\324\344\244\257\005" +#define xecc_z 15 +#define xecc ((&data[2724])) + "\312\105\336\014\160\351\140\311\301\063\375\121\331\242\037\000" + "\331" +#define msg1_z 65 +#define msg1 ((&data[2752])) + "\134\050\374\022\242\056\212\100\177\270\300\246\373\100\315\245" + "\164\205\022\167\263\367\065\001\253\244\304\177\247\306\023\242" + "\210\302\371\325\060\023\104\341\145\324\350\321\153\167\015\367" + "\052\260\264\020\041\120\320\077\164\240\162\015\216\162\162\060" + "\262\165\235\351\005\042\055\331\327\317\061\134\171\252\263\147" + "\044\360\141\367\077\070\246\105\222\323" +#define date_z 1 +#define date ((&data[2831])) + "\337" +#define rlax_z 1 +#define rlax ((&data[2832])) + "\117" +#define inlo_z 3 +#define inlo ((&data[2833])) + "\356\063\363" +#define lsto_z 1 +#define lsto ((&data[2836])) + "\307" +#define tst1_z 22 +#define tst1 ((&data[2838])) + "\154\343\141\256\045\147\355\072\031\127\273\063\274\063\151\005" + "\245\312\202\350\203\025\003\017" +#define msg2_z 19 +#define msg2 ((&data[2861])) + "\125\166\060\370\333\360\072\122\317\063\176\252\305\345\310\253" + "\031\367\354\017\073\264"/* End of data[] */; #define hide_z 4096 #define DEBUGEXEC 0 /* Define as 1 to debug execvp calls */ #define TRACEABLE 1 /* Define as 1 to enable ptrace the executable */ diff --git a/tool/ssinstall b/tool/ssinstall index 999da47..66e2cc8 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -3,6 +3,14 @@ source /opt/durapps/spark-store/bin/bashimport/transhell.amber load_transhell_debug +case `arch` in + x86_64) + STORE_URL="store" + ;; + aarch64) + STORE_URL="aarch64-store" + ;; +esac @@ -54,21 +62,21 @@ fi DEBPATH=`realpath $1` -if [ ! -e "/var/lib/apt/lists/d.store.deepinos.org.cn_Packages" ] && [ ! -e "/var/lib/apt/lists/d.store.deepinos.org.cn_store_Packages" ] && [ ! -e "/var/lib/apt/lists/mirrors.sdu.edu.cn_spark-store-repository_store_Packages" ];then +if [ ! -e "/var/lib/apt/lists/d.spark-app.store_${STORE_URL}_Packages" ] && [ ! -e "/var/lib/apt/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" ] && [ ! -e "/var/lib/apt/lists/mirrors.sdu.edu.cn_spark-store-repository_${STORE_URL}_Packages" ];then echo "接收星火仓库软件信息中..." aptss ssupdate fi ### 选择包信息位置 -if [ -e "/var/lib/apt/lists/d.spark-app.store_aarch64-store_Packages" ];then -PACKAGES_DATA_PATH="/var/lib/apt/lists/d.spark-app.store_aarch64-store_Packages" +if [ -e "/var/lib/apt/lists/d.spark-app.store_${STORE_URL}_Packages" ];then +PACKAGES_DATA_PATH="/var/lib/apt/lists/d.spark-app.store_${STORE_URL}_Packages" echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是星火域名单目录仓库配置" -elif [ -e "/var/lib/apt/lists/d.store.deepinos.org.cn_aarch64-store_Packages" ];then -PACKAGES_DATA_PATH="/var/lib/apt/lists/d.store.deepinos.org.cn_aarch64-store_Packages" +elif [ -e "/var/lib/apt/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" ];then +PACKAGES_DATA_PATH="/var/lib/apt/lists/d.store.deepinos.org.cn_${STORE_URL}_Packages" echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是星火域名单目录仓库配置" else -PACKAGES_DATA_PATH="/var/lib/apt/lists/mirrors.sdu.edu.cn_spark-store-repository_aarch64-store_Packages" +PACKAGES_DATA_PATH="/var/lib/apt/lists/mirrors.sdu.edu.cn_spark-store-repository_${STORE_URL}_Packages" echo "星火仓库的Packages位置为 $PACKAGES_DATA_PATH,是SDU镜像仓库配置" fi