diff --git a/deploy_ereader.sh b/deploy_ereader.sh index a38627864acc..14bce4bce3bb 100755 --- a/deploy_ereader.sh +++ b/deploy_ereader.sh @@ -451,13 +451,15 @@ then fi # Set proper permissions (Unix-specific) -echo -e "${GREEN}Setting permissions...${NC}" -if command -v chmod >/dev/null 2>&1; then - if ! chmod -R 755 "$DEVICE_PLUGIN_DIR/ereader.koplugin"; then - echo -e "${YELLOW}Warning: Failed to set permissions on plugin directory${NC}" +if [ "${PLATFORM}" != "WSL" ]; then + echo -e "${GREEN}Setting permissions...${NC}" + if command -v chmod >/dev/null 2>&1; then + if ! chmod -R 755 "$DEVICE_PLUGIN_DIR/ereader.koplugin"; then + echo -e "${YELLOW}Warning: Failed to set permissions on plugin directory${NC}" + fi + else + echo -e "${YELLOW}Warning: chmod not available, skipping permission setting${NC}" fi -else - echo -e "${YELLOW}Warning: chmod not available, skipping permission setting${NC}" fi # Cross-platform device ejection diff --git a/plugins/ereader.koplugin/main.lua b/plugins/ereader.koplugin/main.lua index 542fd8497a35..49745169eedf 100644 --- a/plugins/ereader.koplugin/main.lua +++ b/plugins/ereader.koplugin/main.lua @@ -901,10 +901,10 @@ function Ereader:archiveArticle(article) UIManager:close(info) if success then - UIManager:show(InfoMessage:new{ - text = (did_enqueue and _("Article will be archived in next sync")) or _("Article archived"), - timeout = 2, - }) + -- UIManager:show(InfoMessage:new{ + -- text = (did_enqueue and _("Article will be archived in next sync")) or _("Article archived"), + -- timeout = 2, + -- }) -- Refresh the article list self:showArticles() else diff --git a/plugins/ereader.koplugin/readerereader.lua b/plugins/ereader.koplugin/readerereader.lua index bbe2150d4803..690b0e498537 100644 --- a/plugins/ereader.koplugin/readerereader.lua +++ b/plugins/ereader.koplugin/readerereader.lua @@ -352,10 +352,10 @@ function ReaderEreader:onArchiveArticle() UIManager:close(info) if success then - UIManager:show(InfoMessage:new{ - text = (did_enqueue and "Article will be archived in next sync") or "Article archived", - timeout = 2, - }) + -- UIManager:show(InfoMessage:new{ + -- text = (did_enqueue and "Article will be archived in next sync") or "Article archived", + -- timeout = 2, + -- }) -- Return to articles list self:onBackToArticles() else @@ -715,4 +715,4 @@ function ReaderEreader:onClose() end end -return ReaderEreader \ No newline at end of file +return ReaderEreader