Skip to content

Commit 7c8bd0a

Browse files
authored
MusicFree 0.0.6
Next version
2 parents bafe820 + fbe7de6 commit 7c8bd0a

File tree

268 files changed

+10730
-11088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+10730
-11088
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,8 @@ tmp
9595

9696
plugins
9797

98-
.VSCodeCounter
98+
.VSCodeCounter
99+
100+
.idea/
101+
102+
undefinedelectron-log-preload.js

LICENSE

+67-80
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
GNU GENERAL PUBLIC LICENSE
2-
Version 3, 29 June 2007
1+
GNU AFFERO GENERAL PUBLIC LICENSE
2+
Version 3, 19 November 2007
33

44
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

88
Preamble
99

10-
The GNU General Public License is a free, copyleft license for
11-
software and other kinds of works.
10+
The GNU Affero General Public License is a free, copyleft license for
11+
software and other kinds of works, specifically designed to ensure
12+
cooperation with the community in the case of network server software.
1213

1314
The licenses for most software and other practical works are designed
1415
to take away your freedom to share and change the works. By contrast,
15-
the GNU General Public License is intended to guarantee your freedom to
16+
our General Public Licenses are intended to guarantee your freedom to
1617
share and change all versions of a program--to make sure it remains free
17-
software for all its users. We, the Free Software Foundation, use the
18-
GNU General Public License for most of our software; it applies also to
19-
any other work released this way by its authors. You can apply it to
20-
your programs, too.
18+
software for all its users.
2119

2220
When we speak of free software, we are referring to freedom, not
2321
price. Our General Public Licenses are designed to make sure that you
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
2624
want it, that you can change the software or use pieces of it in new
2725
free programs, and that you know you can do these things.
2826

29-
To protect your rights, we need to prevent others from denying you
30-
these rights or asking you to surrender the rights. Therefore, you have
31-
certain responsibilities if you distribute copies of the software, or if
32-
you modify it: responsibilities to respect the freedom of others.
33-
34-
For example, if you distribute copies of such a program, whether
35-
gratis or for a fee, you must pass on to the recipients the same
36-
freedoms that you received. You must make sure that they, too, receive
37-
or can get the source code. And you must show them these terms so they
38-
know their rights.
39-
40-
Developers that use the GNU GPL protect your rights with two steps:
41-
(1) assert copyright on the software, and (2) offer you this License
42-
giving you legal permission to copy, distribute and/or modify it.
43-
44-
For the developers' and authors' protection, the GPL clearly explains
45-
that there is no warranty for this free software. For both users' and
46-
authors' sake, the GPL requires that modified versions be marked as
47-
changed, so that their problems will not be attributed erroneously to
48-
authors of previous versions.
49-
50-
Some devices are designed to deny users access to install or run
51-
modified versions of the software inside them, although the manufacturer
52-
can do so. This is fundamentally incompatible with the aim of
53-
protecting users' freedom to change the software. The systematic
54-
pattern of such abuse occurs in the area of products for individuals to
55-
use, which is precisely where it is most unacceptable. Therefore, we
56-
have designed this version of the GPL to prohibit the practice for those
57-
products. If such problems arise substantially in other domains, we
58-
stand ready to extend this provision to those domains in future versions
59-
of the GPL, as needed to protect the freedom of users.
60-
61-
Finally, every program is threatened constantly by software patents.
62-
States should not allow patents to restrict development and use of
63-
software on general-purpose computers, but in those that do, we wish to
64-
avoid the special danger that patents applied to a free program could
65-
make it effectively proprietary. To prevent this, the GPL assures that
66-
patents cannot be used to render the program non-free.
27+
Developers that use our General Public Licenses protect your rights
28+
with two steps: (1) assert copyright on the software, and (2) offer
29+
you this License which gives you legal permission to copy, distribute
30+
and/or modify the software.
31+
32+
A secondary benefit of defending all users' freedom is that
33+
improvements made in alternate versions of the program, if they
34+
receive widespread use, become available for other developers to
35+
incorporate. Many developers of free software are heartened and
36+
encouraged by the resulting cooperation. However, in the case of
37+
software used on network servers, this result may fail to come about.
38+
The GNU General Public License permits making a modified version and
39+
letting the public access it on a server without ever releasing its
40+
source code to the public.
41+
42+
The GNU Affero General Public License is designed specifically to
43+
ensure that, in such cases, the modified source code becomes available
44+
to the community. It requires the operator of a network server to
45+
provide the source code of the modified version running there to the
46+
users of that server. Therefore, public use of a modified version, on
47+
a publicly accessible server, gives the public access to the source
48+
code of the modified version.
49+
50+
An older license, called the Affero General Public License and
51+
published by Affero, was designed to accomplish similar goals. This is
52+
a different license, not a version of the Affero GPL, but Affero has
53+
released a new version of the Affero GPL which permits relicensing under
54+
this license.
6755

6856
The precise terms and conditions for copying, distribution and
6957
modification follow.
@@ -72,7 +60,7 @@ modification follow.
7260

7361
0. Definitions.
7462

75-
"This License" refers to version 3 of the GNU General Public License.
63+
"This License" refers to version 3 of the GNU Affero General Public License.
7664

7765
"Copyright" also means copyright-like laws that apply to other kinds of
7866
works, such as semiconductor masks.
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
549537
the Program, the only way you could satisfy both those terms and this
550538
License would be to refrain entirely from conveying the Program.
551539

552-
13. Use with the GNU Affero General Public License.
540+
13. Remote Network Interaction; Use with the GNU General Public License.
541+
542+
Notwithstanding any other provision of this License, if you modify the
543+
Program, your modified version must prominently offer all users
544+
interacting with it remotely through a computer network (if your version
545+
supports such interaction) an opportunity to receive the Corresponding
546+
Source of your version by providing access to the Corresponding Source
547+
from a network server at no charge, through some standard or customary
548+
means of facilitating copying of software. This Corresponding Source
549+
shall include the Corresponding Source for any work covered by version 3
550+
of the GNU General Public License that is incorporated pursuant to the
551+
following paragraph.
553552

554553
Notwithstanding any other provision of this License, you have
555554
permission to link or combine any covered work with a work licensed
556-
under version 3 of the GNU Affero General Public License into a single
555+
under version 3 of the GNU General Public License into a single
557556
combined work, and to convey the resulting work. The terms of this
558557
License will continue to apply to the part which is the covered work,
559-
but the special requirements of the GNU Affero General Public License,
560-
section 13, concerning interaction through a network will apply to the
561-
combination as such.
558+
but the work with which it is combined will remain governed by version
559+
3 of the GNU General Public License.
562560

563561
14. Revised Versions of this License.
564562

565563
The Free Software Foundation may publish revised and/or new versions of
566-
the GNU General Public License from time to time. Such new versions will
567-
be similar in spirit to the present version, but may differ in detail to
564+
the GNU Affero General Public License from time to time. Such new versions
565+
will be similar in spirit to the present version, but may differ in detail to
568566
address new problems or concerns.
569567

570568
Each version is given a distinguishing version number. If the
571-
Program specifies that a certain numbered version of the GNU General
569+
Program specifies that a certain numbered version of the GNU Affero General
572570
Public License "or any later version" applies to it, you have the
573571
option of following the terms and conditions either of that numbered
574572
version or of any later version published by the Free Software
575573
Foundation. If the Program does not specify a version number of the
576-
GNU General Public License, you may choose any version ever published
574+
GNU Affero General Public License, you may choose any version ever published
577575
by the Free Software Foundation.
578576

579577
If the Program specifies that a proxy can decide which future
580-
versions of the GNU General Public License can be used, that proxy's
578+
versions of the GNU Affero General Public License can be used, that proxy's
581579
public statement of acceptance of a version permanently authorizes you
582580
to choose that version for the Program.
583581

@@ -635,40 +633,29 @@ the "copyright" line and a pointer to where the full notice is found.
635633
Copyright (C) <year> <name of author>
636634

637635
This program is free software: you can redistribute it and/or modify
638-
it under the terms of the GNU General Public License as published by
636+
it under the terms of the GNU Affero General Public License as published by
639637
the Free Software Foundation, either version 3 of the License, or
640638
(at your option) any later version.
641639

642640
This program is distributed in the hope that it will be useful,
643641
but WITHOUT ANY WARRANTY; without even the implied warranty of
644642
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645-
GNU General Public License for more details.
643+
GNU Affero General Public License for more details.
646644

647-
You should have received a copy of the GNU General Public License
645+
You should have received a copy of the GNU Affero General Public License
648646
along with this program. If not, see <https://www.gnu.org/licenses/>.
649647

650648
Also add information on how to contact you by electronic and paper mail.
651649

652-
If the program does terminal interaction, make it output a short
653-
notice like this when it starts in an interactive mode:
654-
655-
<program> Copyright (C) <year> <name of author>
656-
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657-
This is free software, and you are welcome to redistribute it
658-
under certain conditions; type `show c' for details.
659-
660-
The hypothetical commands `show w' and `show c' should show the appropriate
661-
parts of the General Public License. Of course, your program's commands
662-
might be different; for a GUI interface, you would use an "about box".
650+
If your software can interact with users remotely through a computer
651+
network, you should also make sure that it provides a way for users to
652+
get its source. For example, if your program is a web application, its
653+
interface could display a "Source" link that leads users to an archive
654+
of the code. There are many ways you could offer source, and different
655+
solutions will be better for different programs; see section 13 for the
656+
specific requirements.
663657

664658
You should also get your employer (if you work as a programmer) or school,
665659
if any, to sign a "copyright disclaimer" for the program, if necessary.
666-
For more information on this, and how to apply and follow the GNU GPL, see
660+
For more information on this, and how to apply and follow the GNU AGPL, see
667661
<https://www.gnu.org/licenses/>.
668-
669-
The GNU General Public License does not permit incorporating your program
670-
into proprietary programs. If your program is a subroutine library, you
671-
may consider it more useful to permit linking proprietary applications with
672-
the library. If this is what you want to do, use the GNU Lesser General
673-
Public License instead of this License. But first, please read
674-
<https://www.gnu.org/licenses/why-not-lgpl.html>.

README.md

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# MusicFree 桌面版
22

3-
## 本项目基于 GPL 3.0 协议开源,不禁止二次分发,但使用代码时请遵守如下规则:
4-
5-
1. 二次分发版必须同样遵循 GPL 3.0 协议,**开源且免费**
6-
2. **合法合规使用代码,禁止用于商业用途; 修改后的软件造成的任何问题由使用此代码的开发者承担**
7-
3. 打包、二次分发 **请保留代码出处**https://github.com/maotoumao/MusicFree
8-
4. 如果使用此代码的开发者不同意以上三条,则视为 **二次分发版遵守 CC0 协议**
9-
5. 如果开源协议变更,将在此 Github 仓库更新,不另行通知
3+
## 项目使用约定:
4+
本项目基于 AGPL 3.0 协议开源,使用此项目时请遵守开源协议。
5+
除此外,希望你在使用代码时已经了解以下额外说明:
106

7+
1. 打包、二次分发 **请保留代码出处**https://github.com/maotoumao/MusicFree
8+
2. 请不要用于商业用途,合法合规使用代码;
9+
3. 如果开源协议变更,将在此 Github 仓库更新,不另行通知。
1110
---
1211

1312
## 简介
@@ -20,7 +19,7 @@
2019

2120
### 下载地址
2221

23-
[蓝奏云下载地址](https://wwzb.lanzoue.com/b042da1xe)
22+
[飞书云文档](https://r0rvr854dd1.feishu.cn/drive/folder/IrVEfD67KlWZGkdqwjecLHFNnBb?from=from_copylink)
2423

2524
## 特性
2625

@@ -30,15 +29,15 @@
3029

3130
- 定制化:本软件可以通过主题包定义软件外观及背景,详见下方主题包一节。
3231

33-
- 无广告:基于 GPL3.0 协议开源,将会保持免费。
32+
- 无广告:基于 AGPL3.0 协议开源,将会保持免费。
3433

3534
- 隐私:软件所有数据存储在本地,本软件不会上传你的个人信息。
3635

3736
## 插件
3837

3938
插件协议和安卓版完全相同。
4039

41-
[示例插件仓库](https://github.com/maotoumao/MusicFreePlugins),你可以根据[插件开发文档](http://musicfree.upup.fun/docs/tutorial-plugin/intro/) 开发适配于任意音源的插件。
40+
[示例插件仓库](https://github.com/maotoumao/MusicFreePlugins),你可以根据[插件开发文档](https://musicfree.catcat.work/plugin/introduction.html) 开发适配于任意音源的插件。
4241

4342
## 主题包
4443

@@ -88,7 +87,7 @@ config.json 是一个配置文件。
8887
"preview": "#000000", // 预览图,支持颜色或图片;
8988
"description": "描述文本",
9089
"iframes": {
91-
"app": "http://musicfree.upup.fun", // 整个软件的背景
90+
"app": "http://musicfree.catcat.work", // 整个软件的背景
9291
"header": "", // 头部区域的背景
9392
"body": "", // 侧边栏+主页面区域的背景
9493
"side-bar": "", // 侧边栏区域的背景

changelog.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
`2024-12-25 v0.0.6`
2+
1. 【优化】大量代码重构
3+
2. 【功能】新增播放失败时不寻找其他音质版本的配置
4+
3. 【功能】歌单内支持通过 ctrl 键盘多选歌曲批量操作
5+
4. 【功能】支持自定义主窗口大小
6+
5. 【功能】支持自定义歌词窗口大小
7+
6. 【功能】调整播放详情页面的样式
8+
7. 【功能】支持了评论功能(需要插件支持)
9+
8. 【修复】修复了歌单id无法带特殊字符的问题
10+
9. 【修复】修复了音源太多时布局异常的问题
11+
112
`2024-06.25 v0.0.5`
213
【修复】修复重启软件后歌单丢失的问题;如果未出现上述问题可忽略此版本更新
314

forge.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const config: ForgeConfig = {
9191
js: "./src/webworkers/db-worker.ts",
9292
name: "db",
9393
nodeIntegration: true,
94-
},
94+
}
9595
],
9696
},
9797
}),

package-lock.json

+21-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)