Commit eba3cfcc authored by Florian Müllner's avatar Florian Müllner

build: Include UUID suffix in classic mode description

The shortnames we use elsewhere don't match the actual UUID, so we
effectively don't enable any extensions in classic mode at the moment.

GNOME/gnome-shell-extensions#45
parent f5c69cbf
Pipeline #2138 passed with stage
in 5 minutes
......@@ -13,8 +13,13 @@ foreach s : sessions
)
endforeach
classic_uuids = []
foreach e : classic_extensions
classic_uuids += e + uuid_suffix
endforeach
mode_conf = configuration_data()
mode_conf.set('CLASSIC_EXTENSIONS', '"' + '", "'.join(classic_extensions) + '"')
mode_conf.set('CLASSIC_EXTENSIONS', '"' + '", "'.join(classic_uuids) + '"')
mode_file = 'classic.json'
configure_file(
......
......@@ -4,7 +4,7 @@ js_sources = extensionlib
metadata_name = 'metadata.json'
foreach e : all_extensions
uuid = e + '@gnome-shell-extensions.gcampax.github.com'
uuid = e + uuid_suffix
metadata_conf = configuration_data()
metadata_conf.set('extension_id', e)
......
......@@ -32,6 +32,8 @@ else
shell_version = '.'.join(ver_arr)
endif
uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'
classic_extensions = [
'alternate-tab',
'apps-menu',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment