File tree Expand file tree Collapse file tree 11 files changed +13
-9
lines changed
Expand file tree Collapse file tree 11 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 3737
3838 - name : Update version in manifest file
3939 run : |
40- sed -i "s/version=1. 0.0/version=${{ steps.read_version.outputs.version }}/" app/manifest
40+ sed -i "s/version=0.0.1 /version=${{ steps.read_version.outputs.version }}/" app/manifest
4141
4242 - name : Build Package
4343 run : |
Original file line number Diff line number Diff line change 11# 更新日志
22
3+ ## 1.3.2
4+
5+ - 优化:使用 root 加载,避免资源权限问题
6+
37## 1.3.1
48
59- 新增打开不存在文件,编辑后可选择新增并保存
Original file line number Diff line number Diff line change 44 "title": "代码编辑器",
55 "icon": "images/icon_{0}.png",
66 "type": "iframe",
7- "url": "/cgi/ThirdParty/code.editor/api .cgi/",
7+ "url": "/cgi/ThirdParty/code.editor/index .cgi/",
88 "allUsers": true,
99 "noDisplay": false,
1010 "fileTypes": [
File renamed without changes.
Original file line number Diff line number Diff line change 11{
22 "defaults": {
3- "run-as": "package "
3+ "run-as": "root "
44 }
55}
Original file line number Diff line number Diff line change 11appname=code.editor
2- version=1. 0.0
2+ version=0.0.1
33desc=`<div>VS Code 同源库,支持多种编码文件的操作,更有语法高亮、代码补全。</div>
44<div>text、txt、js、ts、html、htm、css、scss、less、json、md、py、java、c、cpp、cc、cxx、go、rs、php、rb、sh、sql、xml、yaml、yml、vue 后缀文件直接双击文件或右键选择代码编辑器打开。</div><div>非上述后缀文件,右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开。</div>
5- <div>提示:编辑用户目录中的文件需【系统设置】-【应用】-【代码编辑器】进行文件夹授权,应用文件夹中目录下可直接编辑;</div><div>提示: 移动端暂未做 UI 适配,访问可能布局错乱;访问二进制文件将显示乱码,请谨慎操作。</div>`
5+ <div>提示:移动端暂未做 UI 适配,访问可能布局错乱;访问二进制文件将显示乱码,请谨慎操作。</div>`
66arch=x86_64
77display_name=代码编辑器
88maintainer=Flex_7746
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ async function getData() {
77 const env = process . env ;
88
99 const assets = env . PATH_INFO . replace (
10- "/cgi/ThirdParty/code.editor/api .cgi" ,
10+ "/cgi/ThirdParty/code.editor/index .cgi" ,
1111 ""
1212 ) ;
1313
Original file line number Diff line number Diff line change 11export const IS_DEV = import . meta. env . MODE === 'development'
22
3- export const HOST = IS_DEV ? 'http://127.0.0.1:17746' : '/cgi/ThirdParty/code.editor/api .cgi'
3+ export const HOST = IS_DEV ? 'http://127.0.0.1:17746' : '/cgi/ThirdParty/code.editor/index .cgi'
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import AutoImport from 'unplugin-auto-import/vite'
1010import Components from 'unplugin-vue-components/vite'
1111import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
1212
13- const CGI_PATH = '/cgi/ThirdParty/code.editor/api .cgi/'
13+ const CGI_PATH = '/cgi/ThirdParty/code.editor/index .cgi/'
1414
1515export default defineConfig ( {
1616 base : CGI_PATH ,
You can’t perform that action at this time.
0 commit comments