Skip to content

softcenter is a plug-in that makes it easier to run programs via web operations.

Notifications You must be signed in to change notification settings

SWRT-dev/softcenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

代码架构

graph LR
subgraph 当前根目录
root
end
subgraph 插件图标聚合目录
softcenter
end
root[.] --> arch
root --> softcenter
root --> src
subgraph 各架构插件目录
arch --> acme
arch --> aria2
arch --> ...
end
subgraph 插件源代码
src --> acme_src[acme]
src --> tailscale_src[tailscale]
src --> ....
tailscale_src --> bin_arch
subgraph 插件各架构主程序
bin_arch
end
tailscale_src --> tailscale
tailscale --> bin
subgraph 插件主程序
bin
end
tailscale --> res
subgraph 插件图标等文件
res
end
tailscale --> scripts
subgraph 插件脚本
scripts
end
tailscale --> webs
subgraph 插件网页
webs
end
end
Loading

多语言支持

web页面支持: 添加如下

<script type="text/javascript" src="/js/i18n.js"></script>

init()处添加

sc_load_lang("插件名");

然后在需要翻译处添加属性sclang

开发须知:

如果你是开发者,想要开发新的插件,并用离线包的方式进行传播,请了解以下内容:

  1. 在程序方面:务必使用静态链接,每个架构的软件中心都对应不同内核版本和不同libc版本的固件,无法保证动态链接后的程序能正常运行,工具链等
  2. 多语言支持为可选项

软件中心各架构列表:

软件中心架构 mips arm arm64 armng mipsle
CPU架构 mips armv7 aarch64 armv7 mipsle
linux内核 3.10/4.9 2.6.36.4 4.x/5.x 3.x/4.x/5.x 3.10/4.x/5.x
CPU grx500 bcm4708/9 [bcm49xx ][ipq][mt798x] [bcm67xx][ipq] mtk7621
FPU soft no hard hard soft
固件版本 SWRT 5.1.2+ SWRT 5.1.2+ SWRT 5.1.2+ SWRT 5.1.2+ SWRT 5.1.2+
软件中心api 1.5 1.5 1.5 1.5 1.5
代表机型-1 BLUECAVE RT-AC68U RT-AC86U TUF-AX3000 RT-AC85P
代表机型-2 K3C K3 GT-AC2900 RT-AX58U RT-AX53U
代表机型-3 RAX40 SBRAC1900P R8000P RT-AX89X R6800
代表机型-4 DIR2680 RT-AC5300 RAX80 RT-ACRH17 RM-AC2100

About

softcenter is a plug-in that makes it easier to run programs via web operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published