mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Small fixes
This commit is contained in:
parent
135ebebe25
commit
cb10d27c0d
2 changed files with 9 additions and 6 deletions
|
@ -130,14 +130,17 @@ public class AppLayoutModel {
|
|||
var now = Instant.now();
|
||||
var zone = ZoneId.of(ZoneId.SHORT_IDS.get("PST"));
|
||||
var phStart = ZonedDateTime.of(2024, 10, 22, 0, 1, 0, 0, zone).toInstant();
|
||||
var phEnd = ZonedDateTime.of(2024, 10, 29, 23, 59, 0, 0, zone).toInstant();
|
||||
var phShow = now.isAfter(phStart) && now.isBefore(phEnd);
|
||||
var clicked = AppCache.get("phClicked",Boolean.class,() -> false);
|
||||
var phShow = now.isAfter(phStart) && clicked;
|
||||
if (phShow) {
|
||||
l.add(new Entry(
|
||||
new SimpleStringProperty("Product Hunt"),
|
||||
new LabelGraphic.ImageGraphic("app:producthunt-color.png", 24),
|
||||
null,
|
||||
() -> Hyperlinks.open(Hyperlinks.PRODUCT_HUNT),
|
||||
() -> {
|
||||
AppCache.update("phClicked", true);
|
||||
Hyperlinks.open(Hyperlinks.PRODUCT_HUNT);
|
||||
},
|
||||
null));
|
||||
}
|
||||
return l;
|
||||
|
|
6
dist/changelogs/12.0.md
vendored
6
dist/changelogs/12.0.md
vendored
|
@ -4,7 +4,7 @@
|
|||
- You can now restart any ended terminal session by pressing R in the terminal
|
||||
- Add support for the windows credential manager as a password manager
|
||||
- Reuse existing shell session when adding new connection and searching for available connections
|
||||
- Implement support for setting custom icons, thanks to https://github.com/selfhst/icons
|
||||
- Implement support for setting custom icons, thanks to [https://github.com/selfhst/icons](https://github.com/selfhst/icons)
|
||||
- Replace deprecated wmic tool interaction on Windows
|
||||
- Add button to log in as a different user for RDP tunnel connections
|
||||
- Properly terminate all running connections when shutting down
|
||||
|
@ -13,7 +13,7 @@
|
|||
- Rework Windows OS name detection to fix wmic issues
|
||||
- Improve script summary display
|
||||
- Upgrade to GraalVM 22.0.2
|
||||
- There is now a docker image with a web-based desktop environment for XPipe at https://github.com/xpipe-io/xpipe-webtop
|
||||
- There is now a docker image with a web-based desktop environment for XPipe at [https://github.com/xpipe-io/xpipe-webtop](https://github.com/xpipe-io/xpipe-webtop)
|
||||
|
||||
## Fixes
|
||||
|
||||
|
@ -40,4 +40,4 @@
|
|||
|
||||
## Product hunt
|
||||
|
||||
XPipe will be on ProductHunt on October 22. If you interested, you can follow XPipe at https://www.producthunt.com/products/xpipe.
|
||||
XPipe will be on ProductHunt on October 22. If you interested, you can follow XPipe at [https://www.producthunt.com/products/xpipe](https://www.producthunt.com/products/xpipe) to get notified.
|
||||
|
|
Loading…
Reference in a new issue