Compare commits

...

9 Commits

Author SHA1 Message Date
LinkLeong
9e5381710f update file task 2023-09-12 09:16:18 +01:00
LinkLeong
fa62c65526 add amd cpu suport 2023-09-11 09:39:50 +01:00
LinkLeong
3aea945277 update readme 2023-09-11 04:22:08 +01:00
LinkLeong
4d8ca182cb Merge branch 'main' of github.com:IceWhaleTech/CasaOS 2023-09-04 04:30:59 +01:00
LinkLeong
b727606a0a update version 2023-09-04 04:30:53 +01:00
Ikko Eltociear Ashimine
428be5f2c2 Update casa.yml (#1375)
enviroment -> environment

Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: Tiger Wang <tigerwang@outlook.com>
2023-09-04 07:36:38 +08:00
aevum123
995d67543d Update README.md (#1374)
Couple small grammar fixes

Signed-off-by: aevum123 <87996440+aevum123@users.noreply.github.com>
2023-09-04 07:35:20 +08:00
omahs
590beac43a Fix minor typos (#1372)
Fix minor typos

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>
2023-09-03 20:56:48 +08:00
kerta1n
e7bf227232 Update README.md, Debian 12 stable (#1352)
Now that Debian 12 is stable, IWT's team should check to make sure that
CasaOS is stable and then update the wiki

Signed-off-by: kerta1n <36344851+kerta1n@users.noreply.github.com>
Co-authored-by: Tiger Wang <tigerwang@outlook.com>
2023-09-01 15:41:33 +08:00
6 changed files with 27 additions and 19 deletions

View File

@@ -65,7 +65,7 @@ jobs:
# ls
- name: Set enviroment for github-release
- name: Set environment for github-release
run: |
echo "VERSION=$(cat types/system.go | grep CURRENTVERSION | awk '$2 == "CURRENTVERSION"{print $4}' | sed 's/"//g')" >>$GITHUB_ENV
echo "BODY=$(cat types/system.go | grep BODY | awk -F= '{print $2}' | sed 's/"//g')" >>$GITHUB_ENV

View File

@@ -83,7 +83,7 @@ Furthermore, the personal cloud could combine personal data to train personalize
- Multiple hardware and base system support
- ZimaBoard, NUC, RPi, old computers, whatever is available.
- Selected apps in the app store, one-click installation
- Nextcloud, HomeAssiant, AdGuard, Jellyfin, *arr and more!
- Nextcloud, HomeAssistant, AdGuard, Jellyfin, *arr and more!
- Easily install numerous Docker apps
- Over 100,000 apps from the Docker ecosystem can be easily installed
- Elegant drive and file management
@@ -104,7 +104,7 @@ CasaOS fully supports ZimaBoard, Intel NUC, and Raspberry Pi. Also, more compute
### System Compatibility
Official Support
- Debian 11 (✅ Tested, Recommended)
- Debian 12 (✅ Tested, Recommended)
- Ubuntu Server 20.04 (✅ Tested)
- Raspberry Pi OS (✅ Tested)
@@ -146,13 +146,13 @@ curl -fsSL https://get.icewhale.io/casaos-uninstall.sh | sudo bash
## Community
The word Casa comes from the Spanish word for "home". Project CasaOS originated as a pre-installed system for crowdfunded product [ZimaBoard](https://www.zimaboard.com) on Kickstarter.
The word Casa comes from the Spanish word for "home". Project CasaOS originated as a pre-installed system for the crowdfunded product [ZimaBoard](https://www.zimaboard.com) on Kickstarter.
After looking at many systems and software on the market, the team found no server system designed for home scenarios, sadly true.
So, we set out to build this open source project to develop CasaOS with our own hands, everyone in the community, and you.
So, we set out to build this open-source project to develop CasaOS with our own hands, everyone in the community, and you.
We believes that through community-driven collaborative innovation and open communication with global developers, we can reshape the digital home experience like never before.
We believe that through community-driven collaborative innovation and open communication with global developers, we can reshape the digital home experience like never before.
**A warm welcome for you to get help or share great ideas in the [Discord](https://discord.gg/knqAbbBbeX)!**
@@ -162,8 +162,8 @@ We believes that through community-driven collaborative innovation and open comm
CasaOS is a community-driven open source project and the people involved are CasaOS users. That means CasaOS will always need contributions from community members just like you!
- See <https://wiki.casaos.io/en/contribute> for ways of contribution to CasaOS
- See <https://wiki.casaos.io/en/contribute/development> if you want to be involved in code contribution specificially
- See <https://wiki.casaos.io/en/contribute> for ways of contributing to CasaOS
- See <https://wiki.casaos.io/en/contribute/development> if you want to be involved in code contribution specifically
## Donate
<p ><a href="https://www.buymeacoffee.com/icewhaletech"> <img align="center" src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="50" width="210" alt="bappi2097" target="_blank" /></a></p>
@@ -209,7 +209,7 @@ Everyone's contribution is greatly appreciated. ([Emoji Key](https://allcontribu
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind are welcome!
## Changelog

View File

@@ -2,7 +2,7 @@ package common
const (
SERVICENAME = "casaos"
VERSION = "0.4.4.1"
VERSION = "0.4.4.2"
BODY = " "
RANW_NAME = "IceWhale-RemoteAccess"
)

View File

@@ -33,7 +33,7 @@ import (
func InitFunction() {
go InitNetworkMount()
go InitInfo()
go InitZerotier()
//go InitZerotier()
}
func InitInfo() {

View File

@@ -102,7 +102,9 @@ func FileOperate(k string) {
os.RemoveAll(temp.To + "/" + lastPath)
}
}
err := os.Rename(v.From, temp.To+"/"+lastPath)
err := file.CopyDir(v.From, temp.To, temp.Style)
if err == nil {
err = os.RemoveAll(v.From)
if err != nil {
logger.Error("file move error", zap.Any("err", err))
err = file.MoveFile(v.From, temp.To+"/"+lastPath)
@@ -112,6 +114,8 @@ func FileOperate(k string) {
}
}
}
} else if temp.Type == "copy" {
err := file.CopyDir(v.From, temp.To, temp.Style)
if err != nil {

View File

@@ -473,6 +473,7 @@ func GetCPUThermalZone() string {
break
}
}
Cache.SetDefault(keyName, path)
return path
}
@@ -483,8 +484,11 @@ func (s *systemService) GetCPUTemperature() int {
if len(path) > 0 {
outPut = string(file.ReadFullFile(path + "/temp"))
} else {
outPut = string(file.ReadFullFile("/sys/class/hwmon/hwmon0/temp1_input"))
if len(outPut) == 0 {
outPut = "0"
}
}
celsius, _ := strconv.Atoi(strings.TrimSpace(outPut))