@@ -4,6 +4,7 @@ import { cwd, releaseData } from './common.js'
44import fs from 'fs'
55import dayjs from 'dayjs'
66import j5 from 'json5'
7+ import { wikiLinks } from './wiki-links.js'
78
89config ( )
910
@@ -145,7 +146,7 @@ function createReleaseData () {
145146 if ( cname . endsWith ( '.rpm' ) ) {
146147 nr . desc = isLegacy ? 'for Red Hat, Fedora... (glibc < 2.34)' : 'for Red Hat, Fedora...'
147148 } else if ( cname . endsWith ( '.deb' ) ) {
148- nr . desc = isLegacy ? 'for Debian, Ubuntu... (glibc < 2.34, like UOS/Ubuntu 18)' : 'for Debian, Ubuntu...'
149+ nr . desc = isLegacy ? 'for Debian, Ubuntu... (glibc < 2.34, like UOS/Kylin/ Ubuntu 18)' : 'for Debian, Ubuntu...'
149150 } else if ( cname . endsWith ( '.snap' ) ) {
150151 nr . desc = 'for all linux that support snap'
151152 } else if ( cname . endsWith ( '.gz' ) ) {
@@ -311,110 +312,6 @@ export default {
311312 {
312313 url : 'https://gh-proxy.com' ,
313314 title : 'https://gh-proxy.com'
314- } ,
315- {
316- url : 'https://github.com/electerm/electerm/wiki' ,
317- title : 'Home'
318- } ,
319- {
320- url : 'https://github.com/electerm/electerm/wiki/AI-model-config-guide' ,
321- title : 'AI model config guide'
322- } ,
323- {
324- url : 'https://github.com/electerm/electerm/wiki/Autorun-electerm-when-login-to-os' ,
325- title : 'Autorun electerm when login to os'
326- } ,
327- {
328- url : 'https://github.com/electerm/electerm/wiki/batch-operation' ,
329- title : 'batch operation'
330- } ,
331- {
332- url : 'https://github.com/electerm/electerm/wiki/Command-line-usage' ,
333- title : 'Command line usage'
334- } ,
335- {
336- url : 'https://github.com/electerm/electerm/wiki/Connection-Hopping-Behavior-Change-in-electerm-since-v1.50.65' ,
337- title : 'Connection Hopping Behavior Change in electerm since v1.50.65'
338- } ,
339- {
340- url : 'https://github.com/electerm/electerm/wiki/Contributors' ,
341- title : 'Contributors'
342- } ,
343- {
344- url : 'https://github.com/electerm/electerm/wiki/Create-personal-access-token' ,
345- title : 'Create personal access token'
346- } ,
347- {
348- url : 'https://github.com/electerm/electerm/wiki/Create-secret-gist' ,
349- title : 'Create secret gist'
350- } ,
351- {
352- url : 'https://github.com/electerm/electerm/wiki/Custom-CSS-examples' ,
353- title : 'Custom CSS examples'
354- } ,
355- {
356- url : 'https://github.com/electerm/electerm/wiki/Custom-sync-server' ,
357- title : 'Custom sync server'
358- } ,
359- {
360- url : 'https://github.com/electerm/electerm/wiki/Deep-link-support' ,
361- title : 'Deep link support'
362- } ,
363- {
364- url : 'https://github.com/electerm/electerm/wiki/Default-Profile' ,
365- title : 'Default Profile'
366- } ,
367- {
368- url : 'https://github.com/electerm/electerm/wiki/Develop-in-windows' ,
369- title : 'Develop in windows'
370- } ,
371- {
372- url : 'https://github.com/electerm/electerm/wiki/How-Electerm-Gets-the-Current-Working-Directory-(pwd)-in-Terminal-When-"SFTP-Follow-Terminal-Path"-Is-Enabled' ,
373- title : 'How Electerm Gets the Current Working Directory (pwd) in Terminal When "SFTP Follow Terminal Path" Is Enabled'
374- } ,
375- {
376- url : 'https://github.com/electerm/electerm/wiki/How-to-use-ssh-tunnel' ,
377- title : 'How to use ssh tunnel'
378- } ,
379- {
380- url : 'https://github.com/electerm/electerm/wiki/In-windows-can-not-access-port-30975-issue' ,
381- title : 'In windows can not access port 30975 issue'
382- } ,
383- {
384- url : 'https://github.com/electerm/electerm/wiki/RDP-limitation' ,
385- title : 'RDP limitation'
386- } ,
387- {
388- url : 'https://github.com/electerm/electerm/wiki/RDP-session-known-issues' ,
389- title : 'RDP session known issues'
390- } ,
391- {
392- url : 'https://github.com/electerm/electerm/wiki/Sponsor-electerm' ,
393- title : 'Sponsor electerm'
394- } ,
395- {
396- url : 'https://github.com/electerm/electerm/wiki/Terminal-keywords-highlight-regular-expression-exmaples' ,
397- title : 'Terminal keywords highlight regular expression exmaples'
398- } ,
399- {
400- url : 'https://github.com/electerm/electerm/wiki/VNC‐session‐known‐issues' ,
401- title : 'VNC session known issues'
402- } ,
403- {
404- url : 'https://github.com/electerm/electerm/wiki/Warning-about-sftp-follow-ssh-path-function' ,
405- title : 'Warning about sftp follow ssh path function'
406- } ,
407- {
408- url : 'https://github.com/electerm/electerm/wiki/privacy-notice' ,
409- title : 'privacy notice'
410- } ,
411- {
412- url : 'https://github.com/electerm/electerm/wiki/proxy-format' ,
413- title : 'proxy format'
414- } ,
415- {
416- url : 'https://github.com/electerm/electerm/wiki/quick-command-templates' ,
417- title : 'quick command templates'
418315 }
419- ]
316+ ] . concat ( wikiLinks )
420317}
0 commit comments