Skip to content

Commit e36e119

Browse files
committed
chore(release): Bump version to 1.0.2, rename productName, and add docs
- Renamed productName to 'munliwall' (lowercase). - Added afterInstall script to fix chrome-sandbox permissions for Deb package. - Updated README.md with installation instructions. - Bumped version to 1.0.2.
1 parent 52390a2 commit e36e119

6 files changed

Lines changed: 105 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
allowUpdates: true
7171
# electron-builder uploads AppImage and Deb. Add Snap and CLI zip here.
7272
artifacts: |
73-
dist/MunliWall-*-x64.snap # Adjust if artifactName differs
73+
dist/munliwall-*-x64.snap # Adjust if artifactName differs
7474
artifacts/cli.zip
7575
token: ${{ secrets.GITHUB_TOKEN }}
7676
omitBodyDuringUpdate: true

README.md

Lines changed: 83 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,88 @@
1-
## munliwall
1+
# munliwall
22

3-
### Description
3+
A simple yet powerful tool designed to transform your workspace with ease. `munliwall` lets you effortlessly manage your desktop backgrounds — download stunning wallpapers, upload your own creations, or update your setup automatically.
44

5-
A simple yet powerful tool designed to transform your workspace with ease. **munliwall** lets you effortlessly manage your desktop backgrounds — whether you want to **download stunning wallpapers from the web**, **upload your own creations**, or **update your current setup automatically**.
5+
## Installation
66

7-
The tool can be used both as a **command-line interface (CLI)** and a **desktop app**, giving you flexibility and control. You can fetch new wallpapers by keyword, source, or category, schedule automatic updates, or quickly apply local images — all without the hassle of manual setup.
7+
### Desktop Application (Linux)
88

9-
### Sources Supported
10-
- **nekos**
11-
- **local**
12-
- **unsplash**
9+
You can download the latest version of the desktop application from the [Releases](https://github.com/munlicode/munliwall/releases) page. We provide support for AppImage, Debian (.deb), and Snap packages.
1310

11+
#### AppImage (Recommended)
12+
13+
1. Download `munliwall-x.x.x.AppImage`.
14+
2. Make it executable:
15+
```bash
16+
chmod +x munliwall-x.x.x.AppImage
17+
```
18+
3. Run it:
19+
```bash
20+
./munliwall-x.x.x.AppImage
21+
```
22+
23+
#### Debian Package (.deb)
24+
25+
1. Download `munliwall-x.x.x.deb`.
26+
2. Install it using `dpkg`:
27+
```bash
28+
sudo dpkg -i munliwall-x.x.x.deb
29+
```
30+
(Run `sudo apt install -f` if you encounter dependency errors)
31+
3. Launch "munliwall" from your applications menu.
32+
33+
#### Snap Package
34+
35+
1. Download `munliwall-x.x.x.snap`.
36+
2. Install it:
37+
```bash
38+
sudo snap install munliwall-x.x.x.snap --dangerous
39+
```
40+
*(Note: The `--dangerous` flag is required because the package is installed locally and not verified by the Snap Store signature).*
41+
42+
### CLI Tool
43+
44+
The CLI tool allows you to manage wallpapers directly from your terminal.
45+
46+
1. Download `cli.zip` from the Releases page.
47+
2. Unzip the archive:
48+
```bash
49+
unzip cli.zip
50+
```
51+
3. Navigate to the `dist` directory.
52+
4. Run the CLI:
53+
```bash
54+
./munliwall --help
55+
```
56+
57+
**Example Commands:**
58+
59+
* **Set a random wallpaper:**
60+
```bash
61+
./munliwall random
62+
```
63+
* **Set a wallpaper from a specific source (e.g., Unsplash):**
64+
```bash
65+
./munliwall set --source unsplash --query "nature"
66+
```
67+
* **List history:**
68+
```bash
69+
./munliwall history
70+
```
71+
72+
## Development
73+
74+
To build the project locally:
75+
76+
1. Clone the repository.
77+
2. Install dependencies:
78+
```bash
79+
pnpm install
80+
```
81+
3. Build the desktop app:
82+
```bash
83+
pnpm --filter @munlicode/munliwall-desktop run build
84+
```
85+
86+
## License
87+
88+
MIT

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@munlicode/munliwall-root",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Desktop and CLI wallpaper tool",
55
"workspaces": [
66
"packages/*"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Fix chrome-sandbox permissions
4+
# The installation directory typically matches the productName or packageName.
5+
# We use a wildcard or try common paths to be safe, or targeted path.
6+
7+
APP_PATH="/opt/munliwall"
8+
9+
if [ -f "$APP_PATH/chrome-sandbox" ]; then
10+
chown root:root "$APP_PATH/chrome-sandbox"
11+
chmod 4755 "$APP_PATH/chrome-sandbox"
12+
fi
13+
14+
# Link the executable to /usr/bin for easier access if not done automatically
15+
if [ -f "$APP_PATH/munliwall" ]; then
16+
ln -sf "$APP_PATH/munliwall" /usr/bin/munliwall
17+
fi

packages/desktop-app/electron-builder.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
appId: com.munlicode.munliwall
2-
productName: MunliWall
2+
productName: munliwall
33
directories:
44
buildResources: build
55
files:
@@ -55,6 +55,7 @@ snap:
5555
repo: munliwall
5656
deb:
5757
artifactName: ${productName}-${version}.${ext}
58+
afterInstall: build/after-install.sh
5859
npmRebuild: false
5960
publish:
6061
provider: github

packages/desktop-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@munlicode/munliwall-desktop",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A simple yet powerful tool designed to transform your workspace with ease. Wallpaper lets you effortlessly manage your desktop backgrounds — download stunning wallpapers, upload your own creations, or update your setup automatically.",
55
"author": "Nurzhan Murakhan <nurzhanmuratkhan@gmail.com>",
66
"homepage": "https://github.com/munlicode/munliwall",

0 commit comments

Comments
 (0)