mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 13:24:04 +02:00
Allow specifying config
This commit is contained in:
parent
bd7c0a209d
commit
f6fa1abf6d
11
Makefile
11
Makefile
@ -1,12 +1,19 @@
|
|||||||
.PHONY: all web desktop desktop-common linux windows
|
.PHONY: all web desktop desktop-common linux windows
|
||||||
|
|
||||||
|
CFGDIR ?= configs/sc
|
||||||
|
|
||||||
all: desktop
|
all: desktop
|
||||||
|
|
||||||
|
|
||||||
|
-include release.mk
|
||||||
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
|
cp $(CFGDIR)/config.json element-web/
|
||||||
yarn --cwd element-web dist
|
yarn --cwd element-web dist
|
||||||
|
|
||||||
desktop-common: web
|
desktop-common: web
|
||||||
yarn --cwd element-desktop run fetch --cfgdir ''
|
yarn --cwd element-desktop run fetch --cfgdir $(CFGDIR)
|
||||||
yarn --cwd element-desktop run build:native
|
yarn --cwd element-desktop run build:native
|
||||||
|
|
||||||
desktop: windows linux
|
desktop: windows linux
|
||||||
@ -16,5 +23,3 @@ linux: desktop-common
|
|||||||
|
|
||||||
windows: desktop-common
|
windows: desktop-common
|
||||||
yarn --cwd element-desktop run build64windows
|
yarn --cwd element-desktop run build64windows
|
||||||
|
|
||||||
-include release.mk
|
|
||||||
|
2
configs/.gitignore
vendored
Normal file
2
configs/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!sc
|
40
configs/sc/config.json
Normal file
40
configs/sc/config.json
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"update_base_url": null,
|
||||||
|
"default_server_name": "matrix.org",
|
||||||
|
"brand": "SchildiChat",
|
||||||
|
"integrations_ui_url": "https://scalar.vector.im/",
|
||||||
|
"integrations_rest_url": "https://scalar.vector.im/api",
|
||||||
|
"integrations_widgets_urls": [
|
||||||
|
"https://scalar.vector.im/_matrix/integrations/v1",
|
||||||
|
"https://scalar.vector.im/api",
|
||||||
|
"https://scalar-staging.vector.im/_matrix/integrations/v1",
|
||||||
|
"https://scalar-staging.vector.im/api",
|
||||||
|
"https://scalar-staging.riot.im/scalar/api"
|
||||||
|
],
|
||||||
|
"hosting_signup_link": "https://element.io/matrix-services?utm_source=element-web&utm_medium=web",
|
||||||
|
"bug_report_endpoint_url": "https://element.io/bugreports/submit",
|
||||||
|
"roomDirectory": {
|
||||||
|
"servers": [
|
||||||
|
"matrix.org"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"piwik": {
|
||||||
|
"url": "https://piwik.riot.im/",
|
||||||
|
"siteId": 1,
|
||||||
|
"policyUrl": "https://element.io/cookie-policy"
|
||||||
|
},
|
||||||
|
"enable_presence_by_hs_url": {
|
||||||
|
"https://matrix.org": false,
|
||||||
|
"https://matrix-client.matrix.org": false
|
||||||
|
},
|
||||||
|
"terms_and_conditions_links": [
|
||||||
|
{
|
||||||
|
"url": "https://element.io/privacy",
|
||||||
|
"text": "Privacy Policy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://element.io/cookie-policy",
|
||||||
|
"text": "Cookie Policy"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user