Skip to content

Commit

Permalink
More cleanup for release.
Browse files Browse the repository at this point in the history
Continuing to slowly work through what all is required for an actual release.
  • Loading branch information
benpocalypse committed Mar 2, 2022
1 parent 42af503 commit cf50518
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 74 deletions.
87 changes: 14 additions & 73 deletions data/Huely.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
<id>com.github.benpocalypse.Huely</id>
<metadata_license>CC0</metadata_license>
<project_license>GPL-3.0+</project_license>
<!--
To update the content rating data of your app, you can
use the Open Age Ratings Service tool at
https://hughsie.github.io/oars/generate.html
-->
<content_rating type="oars-1.1" />
<name>Huely</name>
<summary>Color your workspace</summary>
Expand All @@ -18,94 +13,40 @@
<developer_name>Ben Foote</developer_name>
<launchable type="desktop-id">com.github.benpocalypse.Huely.desktop</launchable>

<!--
Do not uncomment or change the icon line, below. Its state is automatically
managed by the task/preview-in-appcenter script as necessary. If you uncomment it
manually, your Flatpak package attempts will fail.
-->
<!-- <icon type="stock">com.github.benpocalypse.Huely</icon> -->

<custom>
<!--
Customise these settings to change the colours in your AppCenter listing.
You can preview how your app will look in the elementary OS AppCenter
by running the task/preview-in-appcenter script.
You can find the elementary OS colour codes in src/Constants/Colors.vala.
The defaults, below, using Slate 700 as the background and Silver 100
as the foreground.
-->
<value key="x-appcenter-color-primary">#273445</value>
<value key="x-appcenter-color-primary-text">#fafafa</value>

<value key="Purism::form_factor">workstation</value>
<value key="Purism::form_factor">mobile</value>

<!--
Uncomment the following two lines if you want to monetise your app.
https://github.com/elementary/houston/wiki/Monetizing-Your-App
Note that the stripe publishable/public key is NOT your account’s main key.
There is currently a bit of confusion about how this should be set.
Follow the discussion on this pull request for Comet for the latest
details:
https://github.com/elementary/appcenter-reviews/pull/225#issuecomment-984829417
-->
<!--
<value key="x-appcenter-suggested-price">1</value>
<value key="x-appcenter-stripe"></value>
-->
</custom>

<!-- Links. -->
<url type="homepage">https://github.com/benpocalypse/Huely</url>
<url type="bugtracker">https://github.com/benpocalypse/Huely/issues</url>
<url type="help">https://github.com/benpocalypse/Huely#readme</url>

<!--
If you accept donations, you can uncomment the line below and add a URL
to your donation page.
-->
<!-- <url type="donation"></url> -->

<update_contact>[email protected]</update_contact>

<!--
Screenshots
- To generate the default screenshot, run the task/take-screenshots script.
Make sure you add, commit, and push the generated screenshots directory
to GitHub before previewing your app in the elementary OS AppCenter.
(You will not be able to see your screenshots in the AppCenter preview if
your GitHub repository is set to private. In this case, you might be able
to get it to work by including the URL generated by GitHub when you go to
download the image from their online interface by including the gerenated
token. I don’t know if the token has an expiry or not.)
If you have many localisations and screenshots, it might make sense to
modify this script so that it saves them to a separate screenshots
repository so as to keep from bloating your app’s repository.
For an example of this, see Comet’s screenshots script:
https://github.com/small-tech/comet/blob/main/task/take-screenshots#L175
- To preview your app locally in the elementary OS AppCenter, run
the task/preview-in-appcenter script.
If you have localisations, the take-screenshots task will take localised
screenshots but you will have to add them manually to this file. For an
example of this, see Comet’s app metadata:
https://github.com/small-tech/comet/blob/main/data/comet.appdata.xml.in#L39
-->
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/benpocalypse/Huely/main/screenshots/en/light-and-dark.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/benpocalypse/Huely/main/screenshots/en/light.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/benpocalypse/Huely/main/screenshots/en/dark.png</image>
</screenshot>
</screenshots>

<releases>
<release date="2022-03-02" version="0.2.0">
<description>
<p>Initial release</p>
</description>
</release>
</releases>
</component>
2 changes: 1 addition & 1 deletion src/Utilities/LightDiscovery.vala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Huely.LightDiscovery : GLib.Object

string discoveryMessage = "HF-A11ASSISTHREAD";
var cancel = new GLib.Cancellable ();
string receiveBuffer = "extra long string to store data in hopefully";
string receiveBuffer = " ";

try
{
Expand Down

0 comments on commit cf50518

Please sign in to comment.